File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
buildSrc/src/main/java/org/springframework/build
spring-context/src/main/java/org/springframework/context/support Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public void apply(Project project) {
50
50
project .getPlugins ().apply (CheckstylePlugin .class );
51
51
project .getTasks ().withType (Checkstyle .class ).forEach (checkstyle -> checkstyle .getMaxHeapSize ().set ("1g" ));
52
52
CheckstyleExtension checkstyle = project .getExtensions ().getByType (CheckstyleExtension .class );
53
- checkstyle .setToolVersion ("10.23.1 " );
53
+ checkstyle .setToolVersion ("10.25.0 " );
54
54
checkstyle .getConfigDirectory ().set (project .getRootProject ().file ("src/checkstyle" ));
55
55
String version = SpringJavaFormatPlugin .class .getPackage ().getImplementationVersion ();
56
56
DependencySet checkstyleDependencies = project .getConfigurations ().getByName ("checkstyle" ).getDependencies ();
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ dependencies {
12
12
api(platform(" io.netty:netty-bom:4.2.2.Final" ))
13
13
api(platform(" io.projectreactor:reactor-bom:2025.0.0-SNAPSHOT" ))
14
14
api(platform(" io.rsocket:rsocket-bom:1.1.5" ))
15
- api(platform(" org.apache.groovy:groovy-bom:4.0.26 " ))
15
+ api(platform(" org.apache.groovy:groovy-bom:4.0.27 " ))
16
16
api(platform(" org.apache.logging.log4j:log4j-bom:3.0.0-beta3" ))
17
17
api(platform(" org.assertj:assertj-bom:3.27.3" ))
18
18
api(platform(" org.eclipse.jetty:jetty-bom:12.1.0.beta0" ))
19
19
api(platform(" org.eclipse.jetty.ee11:jetty-ee11-bom:12.1.0.beta0" ))
20
20
api(platform(" org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.10.2" ))
21
21
api(platform(" org.jetbrains.kotlinx:kotlinx-serialization-bom:1.8.1" ))
22
22
api(platform(" org.junit:junit-bom:5.13.0" ))
23
- api(platform(" org.mockito:mockito-bom:5.17 .0" ))
23
+ api(platform(" org.mockito:mockito-bom:5.18 .0" ))
24
24
api(platform(" tools.jackson:jackson-bom:3.0.0-rc5" ))
25
25
26
26
constraints {
Original file line number Diff line number Diff line change 27
27
import org .springframework .beans .factory .config .PlaceholderConfigurerSupport ;
28
28
import org .springframework .context .EnvironmentAware ;
29
29
import org .springframework .core .convert .ConversionService ;
30
- import org .springframework .core .convert .support .DefaultConversionService ;
31
30
import org .springframework .core .env .ConfigurableEnvironment ;
32
31
import org .springframework .core .env .ConfigurablePropertyResolver ;
33
32
import org .springframework .core .env .Environment ;
@@ -266,11 +265,7 @@ public boolean containsProperty(String name) {
266
265
if (value instanceof String string ) {
267
266
return string ;
268
267
}
269
- ConversionService conversionService = super .source .getConversionService ();
270
- if (conversionService == null ) {
271
- conversionService = DefaultConversionService .getSharedInstance ();
272
- }
273
- return conversionService .convert (value , String .class );
268
+ return super .source .getConversionService ().convert (value , String .class );
274
269
}
275
270
276
271
@ Override
You can’t perform that action at this time.
0 commit comments