Commit 2a059e73 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #7526 from

* pr/7526:
  Remove redundant array creation for calling varargs method
parents e63174b9 2ae4515f
......@@ -78,7 +78,7 @@ public class YamlPropertySourceLoader implements PropertySourceLoader {
setMatchDefault(false);
setDocumentMatchers(new SpringProfileDocumentMatcher(profile));
}
setResources(new Resource[] { resource });
setResources(resource);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment