You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[java] UselessOverridingMethod doesn't play well with UnnecessarySuppressWarning #5804
By default, the rule UselessOverridingMethod doesn't report a violation, if there are other annotations present (except for Override).
But when SupressWarnings annotation is added, then the rule skips itself - because this is an annotation other than Override and it never reports a violation that gets suppressed...
By the way - the rule description should be improved. I had a hard time understanding what is happening - and double negation (ignoreAnnotation = false) is adding to the confusion...
Activity
[java] UselessOverridingMethod - skip SuppressWarnings
Fix #5804: [java] UselessOverridingMethod needs to ignore SuppressWar…