[doc] Update release notes, new rule UnusedAssignment
This commit is contained in:
@ -1316,7 +1316,8 @@ class Foo{
|
||||
|
||||
The rule may be suppressed with the standard `@SuppressWarnings("unused")` tag.
|
||||
|
||||
The rule subsumes UnusedLocalVariable, and UnusedFormalParameter. Those violations are filtered
|
||||
The rule subsumes {% rule "UnusedLocalVariable" %}, and {% rule "UnusedFormalParameter" %}.
|
||||
Those violations are filtered
|
||||
out by default, in case you already have enabled those rules, but may be enabled with the property
|
||||
`reportUnusedVariables`. Variables whose name starts with `ignored` are filtered out, as
|
||||
is standard practice for exceptions.
|
||||
|
@ -41,6 +41,7 @@
|
||||
<!-- <rule ref="category/java/bestpractices.xml/ReplaceVectorWithList" /> -->
|
||||
<rule ref="category/java/bestpractices.xml/SwitchStmtsShouldHaveDefault"/>
|
||||
<!-- <rule ref="category/java/bestpractices.xml/SystemPrintln" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/UnusedAssignment"/> -->
|
||||
<rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/>
|
||||
<rule ref="category/java/bestpractices.xml/UnusedImports"/>
|
||||
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/>
|
||||
|
Reference in New Issue
Block a user