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) {
|
public ReloadablePropertySource(String name, String path) {
|
||||||
super(StringUtils.hasText(name) ? path : name);
|
super(!StringUtils.hasText(name) ? path : name);
|
||||||
try {
|
try {
|
||||||
this.propertiesConfiguration = new PropertiesConfiguration(path);
|
this.propertiesConfiguration = new PropertiesConfiguration(path);
|
||||||
FileChangedReloadingStrategy strategy = new FileChangedReloadingStrategy();
|
FileChangedReloadingStrategy strategy = new FileChangedReloadingStrategy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user