Skip to content

Commit

Permalink
#94: performance ruleset: exclude AvoidUsingShortType and SimplifySta…
Browse files Browse the repository at this point in the history
…rtsWith
  • Loading branch information
dgroup authored Feb 11, 2022
2 parents b3a9873 + e4c436c commit 67bd22d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ We are using the latest stable pmd-java version which is `6.42.0` as a start poi
| [OptimizableToArrayCall](https://pmd.github.io/latest/pmd_rules_java_performance.html#optimizabletoarraycall) | pmd-java | 1.8 ||||
| [RedundantFieldInitializer](https://pmd.github.io/latest/pmd_rules_java_performance.html#redundantfieldinitializer) | pmd-java | 5.0 ||||
| [ShortInstantiation](https://pmd.github.io/latest/pmd_rules_java_performance.html#shortinstantiation) | pmd-java | 4.0 ||||
| [SimplifyStartsWith](https://pmd.github.io/latest/pmd_rules_java_performance.html#simplifystartswith) | pmd-java | 3.1 | |||
| [SimplifyStartsWith](https://pmd.github.io/latest/pmd_rules_java_performance.html#simplifystartswith) | pmd-java | 3.1 | |||
| [StringInstantiation](https://pmd.github.io/latest/pmd_rules_java_performance.html#stringinstantiation) | pmd-java | 1.0 ||||
| [StringToString](https://pmd.github.io/latest/pmd_rules_java_performance.html#stringtostring) | pmd-java | 1.0 ||||
| [TooFewBranchesForASwitchStatement](https://pmd.github.io/latest/pmd_rules_java_performance.html#toofewbranchesforaswitchstatement) | pmd-java | 4.2 ||||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@
</rule>

<rule ref="category/java/performance.xml">
<exclude name="AvoidUsingShortType"/>
<exclude name="BooleanInstantiation"/>
<exclude name="ByteInstantiation"/>
<exclude name="IntegerInstantiation"/>
<exclude name="LongInstantiation"/>
<exclude name="ShortInstantiation"/>˚
<exclude name="ShortInstantiation"/>
<exclude name="SimplifyStartsWith"/>
</rule>

<rule ref="category/java/security.xml"/>
Expand Down

0 comments on commit 67bd22d

Please sign in to comment.