From 6cbf99acd887de9faf79e27140a7f7344154c842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20K=C3=BChne?=
Date: Fri, 11 Apr 2003 04:44:18 +0000
Subject: [PATCH] fixed docs of DesignForInheritance, static methods are now
ignored
---
docs/config_misc.html | 3 ++-
.../tools/checkstyle/checks/DesignForInheritanceCheck.java | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/config_misc.html b/docs/config_misc.html
index 8245a4a9e..a857b9e36 100644
--- a/docs/config_misc.html
+++ b/docs/config_misc.html
@@ -684,7 +684,8 @@ public class StringUtils // not final to allow subclassing
- The exact rule is that nonprivate methods of classes that can be subclassed must either be
+ The exact rule is that nonprivate, nonstatic methods of classes that
+ can be subclassed must either be
- abstract or
diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DesignForInheritanceCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DesignForInheritanceCheck.java
index 88fe07ee3..92a553fab 100644
--- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DesignForInheritanceCheck.java
+++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DesignForInheritanceCheck.java
@@ -33,7 +33,7 @@ import com.puppycrawl.tools.checkstyle.api.ScopeUtils;
*
*
*
- * The exact rule is that nonprivate methods in
+ * The exact rule is that nonprivate, nonstatic methods in
* nonfinal classes (or classes that do not
* only have private constructors) must either be
*
@@ -53,7 +53,7 @@ import com.puppycrawl.tools.checkstyle.api.ScopeUtils;
*
*
* @author lkuehne
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class DesignForInheritanceCheck extends Check
{