mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 15:59:31 +00:00
Merge pull request #7526 from
* pr/7526: Remove redundant array creation for calling varargs method
This commit is contained in:
Vendored
Regular → Executable
+1
-1
@@ -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