ErrorProne: fix base/CatchAndPrintStackTrace

This commit is contained in:
mkpaz 2023-02-09 14:56:11 +04:00
parent 58ff4cc25c
commit 91c7e2a36f

@ -172,6 +172,7 @@ public class InlineDatePicker extends Control {
private final ObjectProperty<Chronology> 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 {