UniqueProperties: enabled
This commit is contained in:
parent
cf5b220915
commit
0db1b15bfc
2 changed files with 6 additions and 5 deletions
10
README.md
10
README.md
|
@ -270,7 +270,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty
|
||||||
* [TypeName](#typename) - checkstyle - enabled - insuppressible
|
* [TypeName](#typename) - checkstyle - enabled - insuppressible
|
||||||
* [UncommentedMain](#uncommentedmain) - checkstyle - enabled
|
* [UncommentedMain](#uncommentedmain) - checkstyle - enabled
|
||||||
* [UniformEnumConstantName](#uniformenumconstantname) - sevntu - enabled
|
* [UniformEnumConstantName](#uniformenumconstantname) - sevntu - enabled
|
||||||
* [UniqueProperties](#uniqueproperties) - checkstyle - disabled
|
* [UniqueProperties](#uniqueproperties) - checkstyle - enabled
|
||||||
* [UnnecessaryParentheses](#unnecessaryparentheses) - checkstyle - enabled
|
* [UnnecessaryParentheses](#unnecessaryparentheses) - checkstyle - enabled
|
||||||
* [UnnecessaryParenthesesExtended](#unnecessaryparenthesesextended) - sevntu - disabled
|
* [UnnecessaryParenthesesExtended](#unnecessaryparenthesesextended) - sevntu - disabled
|
||||||
* [UnusedImports](#unusedimports) - checkstyle - enabled
|
* [UnusedImports](#unusedimports) - checkstyle - enabled
|
||||||
|
@ -2142,6 +2142,10 @@ Identifiers must match `^[A-Z][a-zA-Z0-9]*$`.
|
||||||
|
|
||||||
Checks for `public static void main()` methods that may have been left over from testing. Allowed in classes whose names end in `Main` or `Application`.
|
Checks for `public static void main()` methods that may have been left over from testing. Allowed in classes whose names end in `Main` or `Application`.
|
||||||
|
|
||||||
|
#### [UniqueProperties](http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties)
|
||||||
|
|
||||||
|
Checks `*.properties` files for duplicate property keys.
|
||||||
|
|
||||||
#### [UnnecessaryParentheses](http://checkstyle.sourceforge.net/config_coding.html#UnnecessaryParentheses)
|
#### [UnnecessaryParentheses](http://checkstyle.sourceforge.net/config_coding.html#UnnecessaryParentheses)
|
||||||
|
|
||||||
Checks for the use of unnecessary parentheses.
|
Checks for the use of unnecessary parentheses.
|
||||||
|
@ -2826,10 +2830,6 @@ Overridding the `clone()` method is not allowed by the [NoClone](#noclone) check
|
||||||
|
|
||||||
[NoFinalizer](#nofinalizer) prevents use of `finalize()`.
|
[NoFinalizer](#nofinalizer) prevents use of `finalize()`.
|
||||||
|
|
||||||
#### [UniqueProperties](http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties)
|
|
||||||
|
|
||||||
> TODO: enable
|
|
||||||
|
|
||||||
#### [WriteTag](http://checkstyle.sourceforge.net/config_javadoc.html#WriteTag)
|
#### [WriteTag](http://checkstyle.sourceforge.net/config_javadoc.html#WriteTag)
|
||||||
|
|
||||||
Generic rule; doesn't embody a 'quality' check.
|
Generic rule; doesn't embody a 'quality' check.
|
||||||
|
|
|
@ -228,6 +228,7 @@
|
||||||
<!-- allowed in classes that end in Main or Application-->
|
<!-- allowed in classes that end in Main or Application-->
|
||||||
<property name="excludedClasses" value="(Main|Application)$"/>
|
<property name="excludedClasses" value="(Main|Application)$"/>
|
||||||
</module>
|
</module>
|
||||||
|
<module name="UniqueProperties"/> <!-- checks for duplicate keys in properties files -->
|
||||||
<module name="UnnecessaryParentheses"/> <!-- unnecessary parentheses -->
|
<module name="UnnecessaryParentheses"/> <!-- unnecessary parentheses -->
|
||||||
<module name="UnusedImports"/> <!-- checks for import that aren't used -->
|
<module name="UnusedImports"/> <!-- checks for import that aren't used -->
|
||||||
<module name="UpperEll"/> <!-- long constants have an 'L' suffix -->
|
<module name="UpperEll"/> <!-- long constants have an 'L' suffix -->
|
||||||
|
|
Loading…
Reference in a new issue