[java] AvoidReassigningCatchVariables: fix missing lang attr, add to quickstart
This commit is contained in:
@ -212,6 +212,7 @@ class Foo {
|
||||
</rule>
|
||||
|
||||
<rule name="AvoidReassigningCatchVariables"
|
||||
language="java"
|
||||
since="6.27.0"
|
||||
message="Avoid reassigning caught exception ''{0}''"
|
||||
class="net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidReassigningCatchVariablesRule"
|
||||
|
@ -10,6 +10,7 @@
|
||||
<!-- <rule ref="category/java/bestpractices.xml/AccessorMethodGeneration" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/ArrayIsStoredDirectly" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/AvoidPrintStackTrace" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/AvoidReassigningCatchVariables" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/AvoidReassigningLoopVariables" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/AvoidReassigningParameters" /> -->
|
||||
<rule ref="category/java/bestpractices.xml/AvoidMessageDigestField"/>
|
||||
|
Reference in New Issue
Block a user