ErrorProne: fix sampler/MissingOverride

This commit is contained in:
mkpaz 2023-02-09 15:40:03 +04:00
parent dae2ab5a30
commit 32e136cd53
2 changed files with 2 additions and 0 deletions

@ -63,6 +63,7 @@ public class CheckBoxPage extends AbstractPage {
} }
// visually compare normal and indeterminate checkboxes size // visually compare normal and indeterminate checkboxes size
@Override
protected void onRendered() { protected void onRendered() {
var normalBox = basicCheck.lookup(".box"); var normalBox = basicCheck.lookup(".box");
var indeterminateBox = indeterminateCheck.lookup(".box"); var indeterminateBox = indeterminateCheck.lookup(".box");

@ -219,6 +219,7 @@ public class DatePickerPage extends AbstractPage {
private static class FutureDateCell extends DateCell { private static class FutureDateCell extends DateCell {
@Override
public void updateItem(LocalDate date, boolean empty) { public void updateItem(LocalDate date, boolean empty) {
super.updateItem(date, empty); super.updateItem(date, empty);
setDisable(empty || date.compareTo(TODAY) < 0); setDisable(empty || date.compareTo(TODAY) < 0);