diff options
author | attatrol <mrattatrol@gmail.com> | 2015-09-05 03:37:46 +0300 |
---|---|---|
committer | Roman Ivanov <ivanov-jr@mail.ru> | 2015-10-31 15:16:15 -0700 |
commit | c56dce9222a819b4741b4c0cd664d38c58b31050 (patch) | |
tree | eee98cd7522fe0a4e3e0b2c93ed5338d57df824e /src/xdocs | |
parent | 9aa49c8f6d2b30577565f87984819e1df0d62d0f (diff) | |
download | checkstyle-c56dce9222a819b4741b4c0cd664d38c58b31050.tar.gz |
Issue #1013: Fix NoWhitespaceAfterCheck
Diffstat (limited to 'src/xdocs')
-rw-r--r-- | src/xdocs/config_whitespace.xml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/xdocs/config_whitespace.xml b/src/xdocs/config_whitespace.xml index c567a73cc..79e7c920a 100644 --- a/src/xdocs/config_whitespace.xml +++ b/src/xdocs/config_whitespace.xml @@ -381,6 +381,16 @@ for (Iterator foo = very.long.line.iterator(); forbid linebreaks after a token, set property <code>allowLineBreaks</code> to <code> false</code>. </p> + <p> + The check processes + <a + href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#ARRAY_DECLARATOR">ARRAY_DECLARATOR</a> + and + <a + href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#INDEX_OP">INDEX_OP</a> + tokens specially from other tokens. Actually it is checked that there is + no whitespace before this tokens, not after them. + </p> </subsection> <subsection name="Properties"> @@ -425,9 +435,7 @@ for (Iterator foo = very.long.line.iterator(); <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#ARRAY_DECLARATOR">ARRAY_DECLARATOR</a>, <a - href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#GENERIC_START">GENERIC_START</a>, - <a - href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#GENERIC_END">GENERIC_END</a>. + href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#INDEX_OP">INDEX_OP</a>. </td> <td> @@ -448,7 +456,9 @@ for (Iterator foo = very.long.line.iterator(); <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#DOT">DOT</a>, <a - href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#ARRAY_DECLARATOR">ARRAY_DECLARATOR</a>. + href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#ARRAY_DECLARATOR">ARRAY_DECLARATOR</a>, + <a + href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#INDEX_OP">INDEX_OP</a>. </td> </tr> </table> |