Fix an issue in State
@@ -80,9 +80,11 @@ public class State implements WritableShim {
this.specProperties = new Properties();
this.specProperties.putAll(otherState.getProperties());
for (Object key : this.commonProperties.keySet()) {
+ if (this.specProperties.containsKey(key) && this.commonProperties.get(key).equals(this.specProperties.get(key))) {
this.specProperties.remove(key);
}
}
+ }
/**
* Return a copy of the underlying {@link Properties} object.
