Enforce no leading or trailing spurious whitespace

Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/bf678edb
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/bf678edb
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/bf678edb

Branch: refs/heads/master
Commit: bf678edb97b2e0060b705c61505575588f8c5a35
Parents: 9c2c2e0
Author: Andrew Gaul <[email protected]>
Authored: Tue Aug 26 11:16:24 2014 -0700
Committer: Andrew Gaul <[email protected]>
Committed: Tue Aug 26 11:16:24 2014 -0700

----------------------------------------------------------------------
 resources/checkstyle.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/bf678edb/resources/checkstyle.xml
----------------------------------------------------------------------
diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index 35fd9ea..f3e3fb4 100644
--- a/resources/checkstyle.xml
+++ b/resources/checkstyle.xml
@@ -35,6 +35,11 @@
 -->
         <module name="ModifierOrder"/>
         <module name="MultipleVariableDeclarations"/>
+        <module name="NoWhitespaceAfter">
+            <!-- ARRAY_INIT disabled -->
+            <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, 
UNARY_MINUS, UNARY_PLUS"/>
+        </module>
+        <module name="NoWhitespaceBefore"/>
         <module name="RedundantImport"/>
         <module name="RedundantModifier">
             <!-- VARIABLE_DEF disabled -->

Reply via email to