aggiunto controllo su data null nel fromato DAte
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-11-04 12:31:05 +01:00
parent a303459b7d
commit 67765fc7d2

View File

@@ -193,7 +193,8 @@ public class UtilityLocalDate {
}
public static boolean isNull(LocalDate dateToCheck) {
return dateToCheck == null || dateToCheck.equals(EmsRestConstants.LOCAL_DATE_NULL) ;
return dateToCheck == null || dateToCheck.equals(EmsRestConstants.LOCAL_DATE_NULL) ||
UtilityLocalDate.localDateToDate(dateToCheck) == EmsRestConstants.DATE_NULL;
}
public static LocalDate isNull(LocalDate dateToCheck, LocalDate fallbackValue) {