fixed docs of DesignForInheritance, static methods are now ignored
This commit is contained in:
parent
d0f2c7d53f
commit
6cbf99acd8
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue