Translation: enabled

This commit is contained in:
Paul Campbell 2016-09-10 19:42:51 +01:00
parent 524fbc029d
commit 559daa92e8
2 changed files with 6 additions and 5 deletions

View file

@ -265,7 +265,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty
* [ThrowsCount](#throwscount) - checkstyle - enabled
* [TodoComment](#todocomment) - checkstyle - enabled
* [TrailingComment](#trailingcomment) - checkstyle - enabled
* [Translation](#translation) - checkstyle - disabled
* [Translation](#translation) - checkstyle - enabled
* [TypecastParenPad](#typecastparenpad) - checkstyle - enabled
* [TypeName](#typename) - checkstyle - enabled - insuppressible
* [UncommentedMain](#uncommentedmain) - checkstyle - disabled
@ -2110,6 +2110,10 @@ int[] a = new int[2](
);
````
#### [Translation](http://checkstyle.sourceforge.net/config_misc.html#Translation)
Checks that all `messages*.properties` files all have the same set of keys.
#### [TypecastParenPad](http://checkstyle.sourceforge.net/config_whitespace.html#TypecastParenPad)
Checks that there are no spaces within the typecasting parentheses.
@ -2818,10 +2822,6 @@ Overridding the `clone()` method is not allowed by the [NoClone](#noclone) check
[NoFinalizer](#nofinalizer) prevents use of `finalize()`.
#### [Translation](http://checkstyle.sourceforge.net/config_misc.html#Translation)
> TODO: enable
#### [UncommentedMain](http://checkstyle.sourceforge.net/config_misc.html#UncommentedMain)
> TODO: enable

View file

@ -220,6 +220,7 @@
<property name="format" value="^(\s*\*).*((TODO)|(FIXME))"/>
</module>
<module name="TrailingComment"/> <!-- no end-line comments (the irony!) -->
<module name="Translation"/> <!-- Checks that messages files have the same keys -->
<module name="TypecastParenPad"/> <!-- no spaces in type casting parentheses -->
<module name="TypeName"/> <!-- validates class, interface, enum and annotation names -->