[Fix] SettingProperties 修复无法设置全局配置项的问题;

This commit is contained in:
LamGC 2020-05-08 12:23:43 +08:00
parent 5830327dad
commit 2cb4fe1dbc

View File

@ -188,10 +188,10 @@ public final class SettingProperties {
Objects.requireNonNull(key);
Properties targetProperties;
if(groupId <= 0) {
targetProperties = globalProp;
} else {
changeList.add(groupId);
targetProperties = getGroupProperties(groupId);
} else {
targetProperties = globalProp;
}
String lastValue = targetProperties.getProperty(key);
if(value != null) {