You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by th...@apache.org on 2016/09/02 16:00:00 UTC

apex-core git commit: Added check for trailing whitespaces

Repository: apex-core
Updated Branches:
  refs/heads/master c13b0dd41 -> eea5c9c6a


Added check for trailing whitespaces


Project: http://git-wip-us.apache.org/repos/asf/apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/apex-core/commit/eea5c9c6
Tree: http://git-wip-us.apache.org/repos/asf/apex-core/tree/eea5c9c6
Diff: http://git-wip-us.apache.org/repos/asf/apex-core/diff/eea5c9c6

Branch: refs/heads/master
Commit: eea5c9c6aaa8f0c12a36b1e2287dfe9b4a8a206e
Parents: c13b0dd
Author: Vlad Rozov <v....@datatorrent.com>
Authored: Fri Aug 12 17:20:58 2016 -0700
Committer: Vlad Rozov <v....@datatorrent.com>
Committed: Fri Sep 2 08:53:27 2016 -0700

----------------------------------------------------------------------
 codestyle-config/src/main/resources/apex_checks.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/apex-core/blob/eea5c9c6/codestyle-config/src/main/resources/apex_checks.xml
----------------------------------------------------------------------
diff --git a/codestyle-config/src/main/resources/apex_checks.xml b/codestyle-config/src/main/resources/apex_checks.xml
index dd4d035..43d3603 100644
--- a/codestyle-config/src/main/resources/apex_checks.xml
+++ b/codestyle-config/src/main/resources/apex_checks.xml
@@ -167,6 +167,11 @@
     <module name="RedundantImport"/>
     <module name="UnusedImports"/>
     <module name="MethodParamPad"/>
+    <module name="Regexp">
+      <property name="format" value="[ \t]+$"/>
+      <property name="illegalPattern" value="true"/>
+      <property name="message" value="Trailing whitespace"/>
+    </module>
   </module>
 
 </module>