Merge pull request #979 from mitm001/master
Fixed how AppSetting mergeFrom checks for key mapping.
This commit is contained in:
commit
f73d10bb9c
@ -274,7 +274,7 @@ public final class AppSettings extends HashMap<String, Object> {
|
||||
*/
|
||||
public void mergeFrom(AppSettings other) {
|
||||
for (String key : other.keySet()) {
|
||||
if (get(key) == null) {
|
||||
if( !this.containsKey(key) ) {
|
||||
put(key, other.get(key));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user