diff --git a/pmd-java/src/main/resources/rulesets/java/unnecessary.xml b/pmd-java/src/main/resources/rulesets/java/unnecessary.xml index e6a3cf86b3..564f865ad3 100644 --- a/pmd-java/src/main/resources/rulesets/java/unnecessary.xml +++ b/pmd-java/src/main/resources/rulesets/java/unnecessary.xml @@ -57,12 +57,12 @@ public class Foo { When a class has the final modifier, all the methods are automatically final and do not need to be -tagged as such. +tagged as such. Similarly, private methods can't be overriden, and therefore do not need to be tagged either. 3