NoFinalizer: enabled
This commit is contained in:
parent
15e2c9e441
commit
e10b3c0032
2 changed files with 8 additions and 5 deletions
12
README.md
12
README.md
|
@ -207,7 +207,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty
|
|||
* [NestedTryDepth](#nestedtrydepth) - checkstyle - enabled
|
||||
* [NewlineAtEndOfFile](#newlineatendoffile) - checkstyle - enabled
|
||||
* [NoClone](#noclone) - checkstyle - enabled
|
||||
* [NoFinalizer](#nofinalizer) - checkstyle - disabled
|
||||
* [NoFinalizer](#nofinalizer) - checkstyle - enabled
|
||||
* [NoLineWrap](#nolinewrap) - checkstyle - disabled
|
||||
* [NoMainMethodInAbstractClass](#nomainmethodinabstractclass) - sevntu - enabled
|
||||
* [NonEmptyAtclauseDescription](#nonemptyatclausedescription) - checkstyle - enabled
|
||||
|
@ -1658,6 +1658,12 @@ Checks that the `clone()` method from `Object` has not been overridden. Use a c
|
|||
|
||||
> See [Effective Java], 2nd Edition by Josh Bloch: Item 11: Override clone judiciously.
|
||||
|
||||
#### [NoFinalizer](http://checkstyle.sourceforge.net/config_coding.html#NoFinalizer)
|
||||
|
||||
Checks that the `finalize()` method from `Object` has not been overridden.
|
||||
|
||||
> See [Effective Java], 2nd Edition by Josh Bloch: Item 7: Avoid finalizers.
|
||||
|
||||
#### [NonEmptyAtclauseDescription](http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription)
|
||||
|
||||
Checks that the Javadoc clauses `@param`, `@return`, `@throws` and `@deprecated` all have descriptions.
|
||||
|
@ -2714,10 +2720,6 @@ Would not see constructors created using Lombok's `@NoArgsConstructor`.
|
|||
|
||||
The javadoc compiler automatically inherits the javadoc from the overridden method, it doesn't need to be told to do so.
|
||||
|
||||
#### [NoFinalizer](http://checkstyle.sourceforge.net/config_coding.html#NoFinalizer)
|
||||
|
||||
> TODO: enable
|
||||
|
||||
#### [NoLineWrap](http://checkstyle.sourceforge.net/config_whitespace.html#NoLineWrap)
|
||||
|
||||
> TODO: enable
|
||||
|
|
|
@ -159,6 +159,7 @@
|
|||
<property name="max" value="0"/>
|
||||
</module>
|
||||
<module name="NoClone"/> <!-- prevent overriding Object.clone() -->
|
||||
<module name="NoFinalizer"/> <!-- prevent overriding Object.finalize() -->
|
||||
<module name="NonEmptyAtclauseDescription"/> <!-- javadoc tags have descriptions -->
|
||||
<module name="NoWhitespaceAfter"/> <!-- prevent white space after tokens -->
|
||||
<module name="NoWhitespaceAfter"> <!-- prevent white space and line breaks after . separator-->
|
||||
|
|
Loading…
Reference in a new issue