From fb722c98705fd26e74e249ac0183967417468b39 Mon Sep 17 00:00:00 2001 From: mkpaz Date: Thu, 9 Feb 2023 14:58:39 +0400 Subject: [PATCH] ErrorProne: fix base/ReturnValueIgnored --- .../main/java/atlantafx/base/controls/InlineDatePicker.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();