diff options
Diffstat (limited to 'checkstyle.xml')
-rw-r--r-- | checkstyle.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/checkstyle.xml b/checkstyle.xml index a493ee443c..b5d1617ba4 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -58,6 +58,12 @@ <property name="eachLine" value="true"/> </module> + <module name="RegexpSingleline"> + <!-- \s matches whitespace character, $ matches end of line. --> + <property name="format" value="\s+$"/> + <property name="message" value="No trailing whitespace allowed."/> + </module> + <module name="TreeWalker"> <module name="OuterTypeFilename"/> <module name="IllegalTokenText"> @@ -84,7 +90,7 @@ </module> <module name="NeedBraces"> <property name="allowSingleLineStatement" value="true"/> - </module> + </module> <module name="OneStatementPerLine"/> <module name="ArrayTypeStyle"/> <module name="FallThrough"/> |