ErrorProne: fix base/ReturnValueIgnored

This commit is contained in:
mkpaz 2023-02-09 14:58:39 +04:00
parent 91c7e2a36f
commit fb722c9870

@ -317,9 +317,12 @@ public class InlineDatePicker extends Control {
return false;
}
@SuppressWarnings("ReturnValueIgnored")
static boolean isValidDate(Chronology chrono, LocalDate date) {
try {
if (date != null) { chrono.date(date); }
if (date != null) {
chrono.date(date);
}
return true;
} catch (DateTimeException e) {
e.printStackTrace();