mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 14:59:50 +00:00
Polish
This commit is contained in:
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user