ignore dates containing 'null's

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

View File

@ -658,6 +658,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(