improved docs
This commit is contained in:
parent
a539deb14d
commit
c0e20524a6
|
|
@ -25,8 +25,15 @@ import com.puppycrawl.tools.checkstyle.api.DetailAST;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* Check that finds empty statements.
|
||||
* Detects empty statements (standalone ';').
|
||||
* Empty statements often introduce bugs
|
||||
* that are hard to spot, such as in
|
||||
* </p>
|
||||
* <pre>
|
||||
* if (someCondition);
|
||||
* doConditionalStuff();
|
||||
* doUnconditionalStuff();
|
||||
* </pre>
|
||||
* <p>
|
||||
* An example of how to configure the check is:
|
||||
* </p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue