forked from phoedos/pmd
[doc] ShortVariable now also reports short enum constant names
Refs #3123
This commit is contained in:
@ -246,6 +246,7 @@ Contributors: [Lucas Soncini](https://github.com/lsoncini) (@lsoncini),
|
||||
* {% rule java/codestyle/MethodNamingConventions %}: The property `checkNativeMethods` has been removed. The
|
||||
property was deprecated since PMD 6.3.0. Use the property `nativePattern` to control whether native methods
|
||||
should be considered or not.
|
||||
* {% rule java/codestyle/ShortVariable %}: This rule now also reports short enum constant names.
|
||||
* {% rule java/codestyle/UseDiamondOperator %}: The property `java7Compatibility` has been removed. The rule now
|
||||
handles Java 7 properly without a property.
|
||||
* {% rule java/codestyle/UnnecessaryFullyQualifiedName %}: The rule has two new properties,
|
||||
|
@ -581,6 +581,7 @@ Related issue: [[core] Explicitly name all language versions (#4120)](https://gi
|
||||
* {% rule java/codestyle/MethodNamingConventions %}: The property `checkNativeMethods` has been removed. The
|
||||
property was deprecated since PMD 6.3.0. Use the property `nativePattern` to control whether native methods
|
||||
should be considered or not.
|
||||
* {% rule java/codestyle/ShortVariable %}: This rule now also reports short enum constant names.
|
||||
* {% rule java/codestyle/UseDiamondOperator %}: The property `java7Compatibility` has been removed. The rule now
|
||||
handles Java 7 properly without a property.
|
||||
* {% rule java/codestyle/UnnecessaryFullyQualifiedName %}: The rule has two new properties,
|
||||
|
@ -1392,7 +1392,7 @@ public class ShortMethod {
|
||||
class="net.sourceforge.pmd.lang.rule.XPathRule"
|
||||
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_codestyle.html#shortvariable">
|
||||
<description>
|
||||
Fields, local variables, or parameter names that are very short are not helpful to the reader.
|
||||
Fields, local variables, enum constant names or parameter names that are very short are not helpful to the reader.
|
||||
</description>
|
||||
<priority>3</priority>
|
||||
<properties>
|
||||
|
Reference in New Issue
Block a user