Skip to content

Commit c93d0cd

Browse files
committed
pmd change: allow increment/decrement in assignment
1 parent 2bc6051 commit c93d0cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/conf/pmd/pmd-ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@
234234

235235
<rule ref="category/java/errorprone.xml/AssignmentInOperand">
236236
<properties>
237+
<property name="allowIncrementDecrement" value="true" />
237238
<property name="violationSuppressXPath"
238239
value="./ancestor-or-self::ClassDeclaration[@SimpleName='Sorting'
239240
or @SimpleName='HashIndexSet'

0 commit comments

Comments
 (0)