Commit e9bf3029 by Yiming Liu

Merge pull request #127 from nobodyiam/client-1.7-fix

fix for java 1.7
parents ff842951 ef6c48de
......@@ -131,7 +131,7 @@ public class DefaultConfig extends AbstractConfig implements RepositoryChangeLis
if (Objects.equals(change.getOldValue(), change.getNewValue())) {
break;
}
if (!Objects.isNull(change.getOldValue())) {
if (change.getOldValue() != null) {
change.setChangeType(PropertyChangeType.MODIFIED);
}
actualChanges.put(change.getPropertyName(), change);
......@@ -145,7 +145,7 @@ public class DefaultConfig extends AbstractConfig implements RepositoryChangeLis
if (Objects.equals(change.getOldValue(), change.getNewValue())) {
break;
}
if (!Objects.isNull(change.getNewValue())) {
if (change.getNewValue() != null) {
change.setChangeType(PropertyChangeType.MODIFIED);
}
actualChanges.put(change.getPropertyName(), change);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment