mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Use Integer.parseInt instead of Integer.valueOf for primitive int
Closes gh-25456
This commit is contained in:
Vendored
+1
-1
@@ -195,7 +195,7 @@ public class EnableCachingIntegrationTests {
|
||||
|
||||
@Bean
|
||||
public Bar bar() {
|
||||
return new Bar(Boolean.valueOf(env.getProperty("bar.enabled")));
|
||||
return new Bar(Boolean.parseBoolean(env.getProperty("bar.enabled")));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user