Skip to content

Commit

Permalink
Issue checkstyle#6749: aligned javadoc/xdoc for NoWhitespaceAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
pbludov committed May 19, 2019
1 parent d2a53a9 commit a7c95bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -49,7 +49,7 @@
* </p>
* <ul>
* <li>
* Property {@code allowLineBreaks} - Control whether whitespace is flagged at linebreaks.
* Property {@code allowLineBreaks} - Control whitespace is allowed if the token is at a linebreak.
* Default value is {@code true}.
* </li>
* <li>
Expand Down Expand Up @@ -111,7 +111,7 @@ public class NoWhitespaceAfterCheck extends AbstractCheck {
*/
public static final String MSG_KEY = "ws.followed";

/** Control whether whitespace is flagged at linebreaks. */
/** Control whitespace is allowed if the token is at a linebreak. */
private boolean allowLineBreaks = true;

@Override
Expand Down Expand Up @@ -157,7 +157,7 @@ public int[] getRequiredTokens() {
}

/**
* Setter to control whether whitespace is flagged at linebreaks.
* Setter to control whitespace is allowed if the token is at a linebreak.
* @param allowLineBreaks whether whitespace should be
* flagged at linebreaks.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/config_whitespace.xml
Expand Up @@ -1059,7 +1059,7 @@ import static java.math.BigInteger.ZERO;
<tr>
<td>allowLineBreaks</td>
<td>
Control whether whitespace is flagged at linebreaks.
Control whitespace is allowed if the token is at a linebreak.
</td>
<td><a href="property_types.html#boolean">Boolean</a></td>
<td><code>true</code></td>
Expand Down

0 comments on commit a7c95bd

Please sign in to comment.