Browse Source

Merge pull request #7526 from

* pr/7526:
  Remove redundant array creation for calling varargs method
pull/7902/head
Stephane Nicoll 9 years ago
parent
commit
2a059e732e
  1. 2
      spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java

2
spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java vendored

@ -78,7 +78,7 @@ public class YamlPropertySourceLoader implements PropertySourceLoader { @@ -78,7 +78,7 @@ public class YamlPropertySourceLoader implements PropertySourceLoader {
setMatchDefault(false);
setDocumentMatchers(new SpringProfileDocumentMatcher(profile));
}
setResources(new Resource[] { resource });
setResources(resource);
}
@Override

Loading…
Cancel
Save