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
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
Fixed false positive in UnusedImports: javadoc comments are parsed to check @see and other tags
|
Fixed false positive in UnusedImports: javadoc comments are parsed to check @see and other tags
|
||||||
Fixed parsing bug: constant fields in annotation classes
|
Fixed parsing bug: constant fields in annotation classes
|
||||||
Bug fix: NPE in MoreThanOneLogger
|
Bug fix: NPE in MoreThanOneLogger
|
||||||
|
UnnecessaryParentheses now checks all expressions, not just return statements
|
||||||
|
|
||||||
April 11, 2008 - 4.2.1:
|
April 11, 2008 - 4.2.1:
|
||||||
|
|
||||||
|
@ -290,8 +290,7 @@ making them look like a function call.
|
|||||||
<property name="xpath">
|
<property name="xpath">
|
||||||
<value>
|
<value>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
//ReturnStatement
|
//Expression
|
||||||
/Expression
|
|
||||||
/PrimaryExpression
|
/PrimaryExpression
|
||||||
/PrimaryPrefix
|
/PrimaryPrefix
|
||||||
/Expression[count(*)=1]
|
/Expression[count(*)=1]
|
||||||
|
Reference in New Issue
Block a user