Merge pull request #4 from kemitix/update-rules

Relax rules requiring short comments and effectively no string literals
This commit is contained in:
Paul Campbell 2018-03-07 19:11:17 +00:00 committed by GitHub
commit 0557685194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
<!-- only public and protected methods are required -->
</properties>
</rule>
<rule ref="category/java/documentation.xml/CommentSize"/>
<!--<rule ref="category/java/documentation.xml/CommentSize"/> - doesn't ignore headers, e.g. MIT License -->
<rule ref="category/java/documentation.xml/UncommentedEmptyConstructor"/>
<rule ref="category/java/documentation.xml/UncommentedEmptyMethodBody"/>
@ -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/AvoidDuplicateLiterals">
<properties>
<property name="maxDuplicateLiterals" value="1"/>
<property name="maxDuplicateLiterals" value="2"/>
</properties>
</rule>
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier"/>