fixed docs of DesignForInheritance, static methods are now ignored

This commit is contained in:
Lars Kühne 2003-04-11 04:44:18 +00:00
parent d0f2c7d53f
commit 6cbf99acd8
2 changed files with 4 additions and 3 deletions

View File

@ -684,7 +684,8 @@ public class StringUtils // not final to allow subclassing
</p>
<p class="body">
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
</p>
<ul class="body">
<li>abstract or</li>

View File

@ -33,7 +33,7 @@ import com.puppycrawl.tools.checkstyle.api.ScopeUtils;
* </p>
*
* <p>
* 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
* <ul>
@ -53,7 +53,7 @@ import com.puppycrawl.tools.checkstyle.api.ScopeUtils;
* </p>
*
* @author lkuehne
* @version $Revision: 1.4 $
* @version $Revision: 1.5 $
*/
public class DesignForInheritanceCheck extends Check
{