Skip to content

Commit 254a55d

Browse files
committed
Merge branch '6.2.x'
# Conflicts: # framework-platform/framework-platform.gradle
2 parents 0df75ff + 73f1c5a commit 254a55d

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void apply(Project project) {
5050
project.getPlugins().apply(CheckstylePlugin.class);
5151
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g"));
5252
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
53-
checkstyle.setToolVersion("10.23.0");
53+
checkstyle.setToolVersion("10.23.1");
5454
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));
5555
String version = SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();
5656
DependencySet checkstyleDependencies = project.getConfigurations().getByName("checkstyle").getDependencies();

framework-platform/framework-platform.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ javaPlatform {
77
}
88

99
dependencies {
10-
api(platform("com.fasterxml.jackson:jackson-bom:2.18.3"))
10+
api(platform("com.fasterxml.jackson:jackson-bom:2.18.4"))
1111
api(platform("io.micrometer:micrometer-bom:1.15.0-RC1"))
12-
api(platform("io.netty:netty-bom:4.1.119.Final"))
12+
api(platform("io.netty:netty-bom:4.1.121.Final"))
1313
api(platform("io.projectreactor:reactor-bom:2025.0.0-M2"))
1414
api(platform("io.rsocket:rsocket-bom:1.1.5"))
1515
api(platform("org.apache.groovy:groovy-bom:4.0.26"))
@@ -97,7 +97,7 @@ dependencies {
9797
api("org.apache.derby:derby:10.16.1.1")
9898
api("org.apache.derby:derbyclient:10.16.1.1")
9999
api("org.apache.derby:derbytools:10.16.1.1")
100-
api("org.apache.httpcomponents.client5:httpclient5:5.4.3")
100+
api("org.apache.httpcomponents.client5:httpclient5:5.4.4")
101101
api("org.apache.httpcomponents.core5:httpcore5-reactive:5.3.4")
102102
api("org.apache.poi:poi-ooxml:5.2.5")
103103
api("org.apache.tomcat.embed:tomcat-embed-core:11.0.5")

spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ private static class ConfigurableEnvironmentPropertySource extends PropertySourc
229229
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment);
230230
}
231231

232-
233232
@Override
234233
public boolean containsProperty(String name) {
235234
for (PropertySource<?> propertySource : super.source.getPropertySources()) {
@@ -257,6 +256,7 @@ public String toString() {
257256
}
258257
}
259258

259+
260260
/**
261261
* Fallback {@link PropertySource} that delegates to a raw {@link Environment}.
262262
* <p>Should never apply in a regular scenario, since the {@code Environment}
@@ -269,7 +269,6 @@ private static class FallbackEnvironmentPropertySource extends PropertySource<En
269269
super(ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, environment);
270270
}
271271

272-
273272
@Override
274273
public boolean containsProperty(String name) {
275274
return super.source.containsProperty(name);

spring-core/src/main/java/org/springframework/core/env/CompositePropertySource.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,10 @@
3535
*
3636
* <p>As of Spring 4.1.2, this class extends {@link EnumerablePropertySource} instead
3737
* of plain {@link PropertySource}, exposing {@link #getPropertyNames()} based on the
38-
* accumulated property names from all contained sources (as far as possible).
38+
* accumulated property names from all contained sources - and failing with an
39+
* {@code IllegalStateException} against any non-{@code EnumerablePropertySource}.
40+
* <b>When used through the {@code EnumerablePropertySource} contract, all contained
41+
* sources are expected to be of type {@code EnumerablePropertySource} as well.</b>
3942
*
4043
* @author Chris Beams
4144
* @author Juergen Hoeller

spring-web/src/main/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -74,6 +74,7 @@ public class HttpComponentsClientHttpRequestFactory implements ClientHttpRequest
7474

7575
private long readTimeout = -1;
7676

77+
7778
/**
7879
* Create a new instance of the {@code HttpComponentsClientHttpRequestFactory}
7980
* with a default {@link HttpClient} based on system properties.
@@ -357,7 +358,7 @@ protected void postProcessHttpRequest(ClassicHttpRequest request) {
357358
}
358359

359360
/**
360-
* Template methods that creates a {@link HttpContext} for the given HTTP method and URI.
361+
* Template method that creates a {@link HttpContext} for the given HTTP method and URI.
361362
* <p>The default implementation returns {@code null}.
362363
* @param httpMethod the HTTP method
363364
* @param uri the URI

0 commit comments

Comments
 (0)