ErrorProne: fix base/ReturnValueIgnored
This commit is contained in:
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();
|
||||
|
Loading…
Reference in New Issue
Block a user