ignore dates containing 'null's

This commit is contained in:
Claudio Atzori 2024-07-02 15:43:11 +02:00
parent c7634c55c7
commit 7d3292551b
1 changed files with 7 additions and 0 deletions

View File

@ -655,6 +655,13 @@ public class MergeUtils {
return d1;
}
if (StringUtils.contains(d1.getValue(), "null")) {
return d2;
}
if (StringUtils.contains(d2.getValue(), "null")) {
return d1;
}
return Stream
.of(d1, d2)
.min(