Skip to content

Commit

Permalink
correct tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu DEHARBE <[email protected]>
  • Loading branch information
Mathieu-Deharbe committed Sep 3, 2024
1 parent 3337dd9 commit c37e5a0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ public <T> void applyElementaryModifications(Consumer<T> setter, Supplier<T> get
T newValue = modification.applyModification(oldValue);
setter.accept(newValue);

insertReportNode(subReportNode, buildModificationReport(oldValue, newValue, fieldName));
if (subReportNode != null) {
insertReportNode(subReportNode, buildModificationReport(oldValue, newValue, fieldName));
}
}
}

Expand Down

0 comments on commit c37e5a0

Please sign in to comment.