From f9590d218a7ea43a7bfb5a4edda87a06b6a1e071 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Mon, 19 May 2008 03:15:40 +0000 Subject: [PATCH] UnnecessaryParentheses now checks all expressions, not just return statements git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6126 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/etc/changelog.txt | 1 + pmd/rulesets/controversial.xml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index 0242b5a7ca..c5a1855b8f 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -3,6 +3,7 @@ Fixed false positive in UnusedImports: javadoc comments are parsed to check @see and other tags Fixed parsing bug: constant fields in annotation classes Bug fix: NPE in MoreThanOneLogger +UnnecessaryParentheses now checks all expressions, not just return statements April 11, 2008 - 4.2.1: diff --git a/pmd/rulesets/controversial.xml b/pmd/rulesets/controversial.xml index 80f6e29170..4a5f8daa69 100644 --- a/pmd/rulesets/controversial.xml +++ b/pmd/rulesets/controversial.xml @@ -290,8 +290,7 @@ making them look like a function call.