fixed error updating deprecated isEmpty method
This commit is contained in:
parent
659bb1aa07
commit
5d9cb02da9
|
@ -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…
Reference in New Issue