ACCUMULO-3451 checkstyle rule for trailing spaces

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

Branch: refs/heads/master
Commit: 9827b05defc1d1a78d50dc87def5f07f41c8a815
Parents: 901d60e
Author: Christopher Tubbs <ctubb...@apache.org>
Authored: Fri Jan 9 14:08:54 2015 -0500
Committer: Christopher Tubbs <ctubb...@apache.org>
Committed: Fri Jan 9 14:08:54 2015 -0500

----------------------------------------------------------------------
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9827b05d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 711a21d..8b4e7b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -740,6 +740,10 @@
                 <property name="eachLine" value="true" />
               </module>
               <module name="TreeWalker">
+                <module name="RegexpSinglelineJava">
+                  <property name="format" value="\s+$" />
+                  <property name="message" value="Line has trailing 
whitespace." />
+                </module>
                 <module name="OuterTypeFilename" />
                 <module name="LineLength">
                   <!-- needs extra, because Eclipse formatter ignores the 
ending left brace -->

Reply via email to