Merge pull request #7526 from
* pr/7526: Remove redundant array creation for calling varargs method
This commit is contained in:
2
spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java
vendored
Normal file → Executable file
2
spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java
vendored
Normal file → Executable file
@@ -78,7 +78,7 @@ public class YamlPropertySourceLoader implements PropertySourceLoader {
|
||||
setMatchDefault(false);
|
||||
setDocumentMatchers(new SpringProfileDocumentMatcher(profile));
|
||||
}
|
||||
setResources(new Resource[] { resource });
|
||||
setResources(resource);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user