sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1793769 - /sis/branches/JDK8/pom.xml
Date Thu, 04 May 2017 11:13:06 GMT
Author: desruisseaux
Date: Thu May  4 11:13:05 2017
New Revision: 1793769

URL: http://svn.apache.org/viewvc?rev=1793769&view=rev
Log:
Add a checkstyle rule against trailing spaces.

Modified:
    sis/branches/JDK8/pom.xml

Modified: sis/branches/JDK8/pom.xml
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/pom.xml?rev=1793769&r1=1793768&r2=1793769&view=diff
==============================================================================
--- sis/branches/JDK8/pom.xml (original)
+++ sis/branches/JDK8/pom.xml Thu May  4 11:13:05 2017
@@ -700,6 +700,10 @@ Apache SIS is a free software, Java lang
                   <module name="FileTabCharacter"/>                 <!-- No tab
characters in the file. -->
                   <module name="NewlineAtEndOfFile"/>               <!-- Newline
at the end of each file. -->
                   <module name="TreeWalker">
+                    <module name="RegexpSinglelineJava">
+                      <property name="format" value="\s+$"/>
+                      <property name="message" value="Trailing spaces not allowed."/>
+                    </module>
                     <module name="NoLineWrap"/>                     <!-- Imports
and package statements are not line-wrapped. -->
                     <module name="RedundantImport"/>                <!-- No redundant
import statements. -->
                     <module name="GenericWhitespace"/>              <!-- Whitespace
around the Generic tokens follow typical convention. -->



Mime
View raw message