summaryrefslogtreecommitdiff
path: root/config/checkstyle
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-10-22 16:57:05 +0200
committerByteHamster <info@bytehamster.com>2019-10-22 16:57:05 +0200
commit2fb0d637a1ab8ec29d49aac7a5bd5cc378b19844 (patch)
tree410e76d4b1fcef80bb360cc0f2fa2e2640a2e5c8 /config/checkstyle
parentcc52fa04fa871da2b9b2c3dc7e239bca51224272 (diff)
downloadAntennaPod-2fb0d637a1ab8ec29d49aac7a5bd5cc378b19844.zip
Enforce NoWhitespaceBefore checkstyle
Diffstat (limited to 'config/checkstyle')
-rw-r--r--config/checkstyle/checkstyle.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index 22952dcc4..4f916ec3f 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -76,6 +76,11 @@
<message key="ws.notPreceded"
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module>
+ <module name="NoWhitespaceBefore">
+ <property name="tokens"
+ value="COMMA, SEMI, POST_INC, POST_DEC, DOT, ELLIPSIS, METHOD_REF"/>
+ <property name="allowLineBreaks" value="true"/>
+ </module>
<module name="AnnotationLocation">
<property name="id" value="AnnotationLocationMostCases"/>
<property name="tokens"