diff options
author | Kenny Root <kenny@the-b.org> | 2015-03-23 22:10:54 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-03-23 22:35:24 +0000 |
commit | bf3fb8149334b708d2bfccad6b95833ff719cd07 (patch) | |
tree | 29e2964e7376615e32eeedfb4cc7d134baa3d3cc /config | |
parent | 599926fc4af27a2bb6951ef5413cb6e2ae5d6ed7 (diff) | |
download | connectbot-bf3fb8149334b708d2bfccad6b95833ff719cd07.tar.gz connectbot-bf3fb8149334b708d2bfccad6b95833ff719cd07.tar.bz2 connectbot-bf3fb8149334b708d2bfccad6b95833ff719cd07.zip |
Add some whitespace rules and fixes for them
Diffstat (limited to 'config')
-rw-r--r-- | config/quality/checkstyle/checkstyle.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/quality/checkstyle/checkstyle.xml b/config/quality/checkstyle/checkstyle.xml index e4504f7..105f707 100644 --- a/config/quality/checkstyle/checkstyle.xml +++ b/config/quality/checkstyle/checkstyle.xml @@ -11,9 +11,20 @@ value="Line has leading space characters; indentation should be performed with tabs only."/> <property name="ignoreComments" value="true"/> </module> + <module name="AvoidStarImport" /> <module name="IllegalImport" /> <module name="RedundantImport" /> <module name="UnusedImports" /> + <module name="NoWhitespaceAfter"> + <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS" /> + </module> + <module name="NoWhitespaceBefore" /> + <module name="ParenPad" /> + <module name="TypecastParenPad" /> + <module name="WhitespaceAfter" /> + <module name="WhitespaceAround"> + <property name="allowEmptyMethods" value="true" /> + </module> </module> </module> |