Skip to content

Commit cf520cc

Browse files
authored
Merge pull request #862 from uhafner/LiteralsFirstInComparisons
Deactivate LiteralsFirstInComparisons PMD rule.
2 parents 2108b88 + bc19003 commit cf520cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/pmd-configuration.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<description>Ullrich Hafner's PMD rules</description>
88

99
<rule ref="category/java/bestpractices.xml">
10+
<exclude name="LiteralsFirstInComparisons"/>
1011
<exclude name="JUnitTestContainsTooManyAsserts"/>
1112
<exclude name="JUnitTestsShouldIncludeAssert"/>
1213
<exclude name="JUnitAssertionsShouldIncludeMessage"/>

0 commit comments

Comments
 (0)