Optional<Object> newValue = newFeature.getValues().get(i);
if (!newValue.equals(value)) { // if it's going to end up
// setting the same value, it is
// compatible, so no need to
// check
if (!attrDiff.canBeAppliedOn(value)) {
ok = false;
}
break;
}
}