aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKousuke Saruta <sarutak@oss.nttdata.co.jp>2016-01-13 00:51:24 -0800
committerReynold Xin <rxin@databricks.com>2016-01-13 00:51:24 -0800
commit3d81d63f4499478ef7861bf77383c30aed14bb19 (patch)
tree4da87e355939a65c1d6ce1ccc265cc5011e2ca40
parentcb7b864a24db4826e2942c186afe3cb8bd788b03 (diff)
downloadspark-3d81d63f4499478ef7861bf77383c30aed14bb19.tar.gz
spark-3d81d63f4499478ef7861bf77383c30aed14bb19.tar.bz2
spark-3d81d63f4499478ef7861bf77383c30aed14bb19.zip
[SPARK-12692][BUILD] Enforce style checking about white space before comma
This is the final PR about SPARK-12692. We have removed all of white spaces before comma from code so let's enforce style checking. Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #10736 from sarutak/SPARK-12692-followup-enforce-checking.
-rw-r--r--scalastyle-config.xml13
1 files changed, 6 insertions, 7 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index bc209ee6aa..967a482ba4 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -197,6 +197,12 @@ This file is divided into 3 sections:
</parameters>
</check>
+ <check level="error" class="org.scalastyle.scalariform.DisallowSpaceBeforeTokenChecker" enabled="true">
+ <parameters>
+ <parameter name="tokens">COMMA</parameter>
+ </parameters>
+ </check>
+
<!-- ================================================================================ -->
<!-- rules we'd like to enforce, but haven't cleaned up the codebase yet -->
<!-- ================================================================================ -->
@@ -217,13 +223,6 @@ This file is divided into 3 sections:
<!-- Should turn this on, but we have a few places that need to be fixed first -->
<check level="error" class="org.scalastyle.scalariform.EqualsHashCodeChecker" enabled="false"></check>
- <!-- Should turn this on, but we have a few places that need to be fixed first -->
- <check level="warning" class="org.scalastyle.scalariform.DisallowSpaceBeforeTokenChecker" enabled="true">
- <parameters>
- <parameter name="tokens">COMMA</parameter>
- </parameters>
- </check>
-
<!-- ================================================================================ -->
<!-- rules we don't want -->
<!-- ================================================================================ -->