aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-12-31 23:48:55 -0800
committerReynold Xin <rxin@databricks.com>2015-12-31 23:48:55 -0800
commita59a357cae82ca9b6926b55903ce4f12ae131735 (patch)
tree38d7a2c18192cbf2ff4250f915250a3187c0eb19 /scalastyle-config.xml
parentc9dbfcc653b868fdb28106c1d1bcb6cb6caac6cc (diff)
downloadspark-a59a357cae82ca9b6926b55903ce4f12ae131735.tar.gz
spark-a59a357cae82ca9b6926b55903ce4f12ae131735.tar.bz2
spark-a59a357cae82ca9b6926b55903ce4f12ae131735.zip
[SPARK-3873][MLLIB] Import order fixes.
A slight adjustment to the checker configuration was needed; there is a handful of warnings still left, but those are because of a bug in the checker that I'll fix separately (before enabling errors for the checker, of course). Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #10535 from vanzin/SPARK-3873-mllib.
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 6925e18737..16d18b3328 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -219,8 +219,8 @@ This file is divided into 3 sections:
<check level="warning" class="org.scalastyle.scalariform.ImportOrderChecker" enabled="true">
<parameters>
<parameter name="groups">java,scala,3rdParty,spark</parameter>
- <parameter name="group.java">javax?\..+</parameter>
- <parameter name="group.scala">scala\..+</parameter>
+ <parameter name="group.java">javax?\..*</parameter>
+ <parameter name="group.scala">scala\..*</parameter>
<parameter name="group.3rdParty">(?!org\.apache\.spark\.).*</parameter>
<parameter name="group.spark">org\.apache\.spark\..*</parameter>
</parameters>