Skip to content

Commit

Permalink
Update DbRepositorySupport.java
Browse files Browse the repository at this point in the history
  • Loading branch information
654894017 authored May 11, 2024
1 parent 6aafc54 commit f5d25e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public abstract class DbRepositorySupport {
public <A extends Versionable, B> Boolean executeSafeUpdate(B newObj, B oldObj, Function<B, A> function) {
A newObject = function.apply(newObj);
A oldObject = function.apply(oldObj);
Set<String> changedFields = ObjectComparator.findChangedFields(newObject, oldObject, true);
Set<String> changedFields = ObjectComparator.findChangedFields(newObject, oldObject, false);
return update(newObject, changedFields);
}

Expand Down

0 comments on commit f5d25e4

Please sign in to comment.