Skip to content

Commit a14277b

Browse files
Remove PMD rule SimplifyBooleanReturns (#481)
Remove from default rule set. Readability of code tends to be better if this rule is not enforced. It can be re-activated on project basis by using a custom ruleset, see configuration parameter pmdRuleset and supply an adapted rule set similar to rules.xml from this repo. Signed-off-by: Holger Friedrich <[email protected]>
1 parent 73572e4 commit a14277b

File tree

1 file changed

+0
-3
lines changed
  • sat-plugin/src/main/resources/rulesets/pmd

1 file changed

+0
-3
lines changed

sat-plugin/src/main/resources/rulesets/pmd/rules.xml

-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<rule ref="category/java/design.xml/SimplifyBooleanExpressions">
103103
<priority>3</priority>
104104
</rule>
105-
<rule ref="category/java/design.xml/SimplifyBooleanReturns">
106-
<priority>3</priority>
107-
</rule>
108105

109106
<!-- See https://pmd.github.io/pmd-6.53.0/pmd_rules_java_performance.html -->
110107
<rule ref="category/java/performance.xml/AvoidArrayLoops">

0 commit comments

Comments
 (0)