apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject apex-core git commit: Added check for trailing whitespaces
Date Fri, 02 Sep 2016 16:00:00 GMT
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.rozov@datatorrent.com>
Authored: Fri Aug 12 17:20:58 2016 -0700
Committer: Vlad Rozov <v.rozov@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>


Mime
View raw message