Skip to content

Commit

Permalink
Merge branch 'master' into feature/96
Browse files Browse the repository at this point in the history
  • Loading branch information
dykov authored Feb 11, 2022
2 parents a5d745b + 67bd22d commit af0d835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 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 Expand Up @@ -365,6 +365,8 @@ We are using the latest stable pmd-java version which is `6.42.0` as a start poi
| [UselessOperationOnImmutable](https://pmd.github.io/latest/pmd_rules_java_errorprone.html#uselessoperationonimmutable) | pmd-java | 3.5 ||||
| [UseLocaleWithCaseConversions](https://pmd.github.io/latest/pmd_rules_java_errorprone.html#uselocalewithcaseconversions) | pmd-java | 2.0 ||||
| [UseProperClassLoader](https://pmd.github.io/latest/pmd_rules_java_errorprone.html#useproperclassloader) | pmd-java | 3.7 ||||
| [HardCodedCryptoKey](https://pmd.github.io/latest/pmd_rules_java_security.html#hardcodedcryptokey) | pmd-java | 6.4.0 ||||
| [InsecureCryptoIv](https://pmd.github.io/latest/pmd_rules_java_security.html#insecurecryptoiv) | pmd-java | 6.3.0 ||||

### How to use?
#### Maven (pom.xml)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,15 @@
</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>

<!-- @todo #27/DEV category/java/security.xml - add rules details in table defined in readme.md -->
<rule ref="category/java/security.xml"/>

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

0 comments on commit af0d835

Please sign in to comment.