AvoidDuplicateLiterals.maxDuplicateLiterals: max is the too much value, not the max allowed
This commit is contained in:
parent
85f6932b35
commit
2993cdc950
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
|
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
|
||||||
<rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals">
|
<rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="maxDuplicateLiterals" value="1"/>
|
<property name="maxDuplicateLiterals" value="2"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier"/>
|
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier"/>
|
||||||
|
|
Loading…
Reference in a new issue