XHTML compliant javadoc
This commit is contained in:
parent
4c633abe4b
commit
bb0f03b05c
|
|
@ -27,6 +27,7 @@ import com.puppycrawl.tools.checkstyle.api.DetailAST;
|
|||
*
|
||||
* <p>
|
||||
* For example this Check flags confusing code like
|
||||
* </p>
|
||||
* <pre>
|
||||
* public void guessTheOutput()
|
||||
* {
|
||||
|
|
|
|||
|
|
@ -36,14 +36,17 @@ import com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck;
|
|||
* {@link TokenTypes#LITERAL_ELSE LITERAL_ELSE},
|
||||
* {@link TokenTypes#LITERAL_FOR LITERAL_FOR},
|
||||
* {@link TokenTypes#STATIC_INIT STATIC_INIT}.
|
||||
* </p>
|
||||
*
|
||||
* <p> An example of how to configure the check is:
|
||||
* </p>
|
||||
* <pre>
|
||||
* <module name="EmptyBlock"/>
|
||||
* </pre>
|
||||
*
|
||||
* <p> An example of how to configure the check for the {@link
|
||||
* BlockOption#TEXT} policy and only catch blocks is:
|
||||
* </p>
|
||||
*
|
||||
* <pre>
|
||||
* <module name="EmptyBlock">
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes;
|
|||
* </pre>
|
||||
* <p> An example of how to configure the check for <code>if</code> and
|
||||
* <code>else</code> blocks is:
|
||||
* </p>
|
||||
* <pre>
|
||||
* <module name="NeedBraces">
|
||||
* <property name="tokens" value="LITERAL_IF, LITERAL_ELSE"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue