From 91c7e2a36fb2854d8e7751bb0f5f0f43f156fa1a Mon Sep 17 00:00:00 2001 From: mkpaz Date: Thu, 9 Feb 2023 14:56:11 +0400 Subject: [PATCH] ErrorProne: fix base/CatchAndPrintStackTrace --- .../src/main/java/atlantafx/base/controls/InlineDatePicker.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java b/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java index a44673f..c54b0c8 100755 --- a/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java +++ b/base/src/main/java/atlantafx/base/controls/InlineDatePicker.java @@ -172,6 +172,7 @@ public class InlineDatePicker extends Control { private final ObjectProperty chronology = new SimpleObjectProperty<>(this, "chronology", null); + @SuppressWarnings("CatchAndPrintStackTrace") public final Chronology getChronology() { Chronology chrono = chronology.get(); if (chrono == null) { @@ -304,6 +305,7 @@ public class InlineDatePicker extends Control { return getClassCssMetaData(); } + @SuppressWarnings("CatchAndPrintStackTrace") static boolean isValidDate(Chronology chrono, LocalDate date, int offset, ChronoUnit unit) { if (date != null) { try {