This commit is contained in:
Phillip Webb
2014-12-05 10:54:36 -08:00
parent af643e2f54
commit b253cbec2d

View File

@@ -344,9 +344,7 @@ public class ConfigFileApplicationListener implements
private void load(String location, String name, String profile)
throws IOException {
String group = "profile=" + (profile == null ? "" : profile);
if (!StringUtils.hasText(name)) {
// Try to load directly from the location
loadIntoGroup(group, location, profile);