diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index a955d8ebb1..64bddd15e1 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -1,6 +1,7 @@ ????? ??, 2013 - 5.0.5: Fixed bug 991: AvoidSynchronizedAtMethodLevel for static methods +Fixed bug 1111: False positive: Useless parentheses Fixed bug 1114: CPD - Tokenizer not initialized with requested properties Fixed bug 1118: ClassCastException in pmd.lang.ecmascript.ast.ASTElementGet diff --git a/pmd/src/main/resources/rulesets/java/unnecessary.xml b/pmd/src/main/resources/rulesets/java/unnecessary.xml index 87ef218961..fe991c712b 100644 --- a/pmd/src/main/resources/rulesets/java/unnecessary.xml +++ b/pmd/src/main/resources/rulesets/java/unnecessary.xml @@ -220,7 +220,7 @@ public class Test { + + #1111 False positive: Useless parentheses + 0 + +