diff --git a/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java b/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java index c54b0c8..62d7c87 100755 --- a/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java +++ b/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java @@ -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();