Merge pull request #10384 from rozagerardo/rozagerardo/JAVA-4134_Fix-test-in-spring-boot-properties
[JAVA-4134] Fix test in spring-boot-properties
This commit is contained in:
commit
1c2a87e073
|
@ -15,7 +15,7 @@ public class ReloadablePropertySource extends PropertySource {
|
|||
}
|
||||
|
||||
public ReloadablePropertySource(String name, String path) {
|
||||
super(StringUtils.hasText(name) ? path : name);
|
||||
super(!StringUtils.hasText(name) ? path : name);
|
||||
try {
|
||||
this.propertiesConfiguration = new PropertiesConfiguration(path);
|
||||
FileChangedReloadingStrategy strategy = new FileChangedReloadingStrategy();
|
||||
|
|
Loading…
Reference in New Issue