Skip to content

Commit

Permalink
fix: reintroduce override, needed to elevate access modifier
Browse files Browse the repository at this point in the history
- add pmd suppression for UselessOverridingMethod rule
  • Loading branch information
jdrueckert committed Oct 27, 2023
1 parent 3428369 commit a3f8fbc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ public void setDepthAuto() {
}
}

@Override
@SuppressWarnings("PMD.UselessOverridingMethod") // override elevates access modifier
public void setId(String id) {
super.setId(id);
}

protected InteractionListener getScreenListener() {
return DEFAULT_SCREEN_LISTENER;
}
Expand Down

0 comments on commit a3f8fbc

Please sign in to comment.