From d4fe5e2ce166589bee70e721892360336157d48c Mon Sep 17 00:00:00 2001
From: Oleg Sukhodolsky
- Checks that an overriding clone() method invokes super.clone(). -
-- Reference: Object.clone(). -
-- To configure the check: -
--<module name="SuperClone"/> --
- com.puppycrawl.tools.checkstyle.checks.coding -
-- TreeWalker -
-Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException @@ -1389,7 +1366,7 @@ return !valid(); class="code">null for object references, zero for numeric types and char and false for booolean.
+ class="code">boolean.Rationale: each instance variable gets initialized twice, to the same value. Java initializes each instance variable to its default diff --git a/docs/config_import.html b/docs/config_import.html index 8304769f3..f67249a4a 100644 --- a/docs/config_import.html +++ b/docs/config_import.html @@ -270,7 +270,7 @@ <module name="ImportOrder"> <property name="groups" value="java,javax"/> <property name="ordered" value="true"/> - <preperty name="separated" value="true"/> + <property name="separated" value="true"/> </module>
-<module name="UnusedParameter"/>
+<module name="usage.UnusedParameter"/>
To configure the check to ignore parameters whose name ends in Temp: @@ -229,7 +229,7 @@ To configure the check:
-<module name="UnusedPrivateField"/>
+<module name="usage.UnusedPrivateField"/>
To configure the check to ignore fields whose name ends in Temp: diff --git a/docs/releasenotes.html b/docs/releasenotes.html index ce8f9cae0..babf87874 100644 --- a/docs/releasenotes.html +++ b/docs/releasenotes.html @@ -97,6 +97,9 @@ and variable/method name are placed on different lines (bug 848750). +
null for object
* references, zero for numeric types and char
- * and false for booolean.
+ * and false for boolean.
*
* * Rationale: each instance variable gets