diff --git a/docs/pages/pmd/rules/java/codestyle.md b/docs/pages/pmd/rules/java/codestyle.md index b835d386ef..2950fe7cf0 100644 --- a/docs/pages/pmd/rules/java/codestyle.md +++ b/docs/pages/pmd/rules/java/codestyle.md @@ -1936,6 +1936,7 @@ Useless parentheses should be removed. [not(./CastExpression)] [not(./ConditionalExpression)] [not(./AdditiveExpression)] + [not(./AssignmentOperator)] | //Expression[not(parent::PrimaryPrefix)]/PrimaryExpression[count(*)=1] /PrimaryPrefix/Expression