Browse Source

Polish

pull/2081/head
Phillip Webb 11 years ago
parent
commit
b253cbec2d
  1. 2
      spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

2
spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

@ -344,9 +344,7 @@ public class ConfigFileApplicationListener implements @@ -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);

Loading…
Cancel
Save