diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UselessParentheses.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UselessParentheses.xml index 4031266560..8c971f8c0d 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UselessParentheses.xml +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UselessParentheses.xml @@ -540,6 +540,84 @@ public class Test { System.out.println("Hello world"); } } +} + ]]> + + + #2739 [java] False Positive UselessParenthesis for string concatenation + 0 + + + + + [java] false-positive in UselessParentheses #1673 + true + 0 + + + + + [java] false-positive in UselessParentheses #1673 (!ignoreClarifying) + false + 1 + + + + + [Java] UselessParentheses: catch wrong case #1918 (ignoreClarifying) + true + 0 + + + + + [Java] UselessParentheses: catch wrong case #1918 (!ignoreClarifying) + false + 1 +