From 109276cdea4f07a0643997961d674977d9315c4c Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 5 Sep 2016 17:40:27 +0100 Subject: [PATCH] NoWhitespaceAfter: prevent whitespace and new line after dot separator --- README.md | 2 -- src/main/resources/net/kemitix/checkstyle.xml | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff88a7e..10152c6 100644 --- a/README.md +++ b/README.md @@ -1643,8 +1643,6 @@ int[ ] a; int d = a[ 2]; ```` -> TODO: tokens = DOT & allowLineBreaks = false - #### [NoWhitespaceBefore](http://checkstyle.sourceforge.net/config_whitespace.html#NoWhitespaceBefore) Checks that there is no whitespace before the comma operator (','), statement terminator (';'), postfix increment ('++') or postfix decrement ('--'). diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 917e7e6..3ad7383 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -149,6 +149,10 @@ + + + +