diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-12-31 23:48:55 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-12-31 23:48:55 -0800 |
commit | a59a357cae82ca9b6926b55903ce4f12ae131735 (patch) | |
tree | 38d7a2c18192cbf2ff4250f915250a3187c0eb19 /scalastyle-config.xml | |
parent | c9dbfcc653b868fdb28106c1d1bcb6cb6caac6cc (diff) | |
download | spark-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.xml | 4 |
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> |