Commit ef6c48de by Jason Song

fix for java 1.7

parent f75ae7fa
......@@ -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