Skip to content

Commit

Permalink
test: update test to fix Sonar warning
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Apr 15, 2024
1 parent fdaeb60 commit 3eea424
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ public CheckboxBasicValidationPage() {

@Override
protected Checkbox createTestField() {
Checkbox checkbox = new Checkbox() {
return new Checkbox() {
@Override
protected void validate() {
super.validate();
incrementServerValidationCounter();
}
};

return checkbox;
}
}

0 comments on commit 3eea424

Please sign in to comment.