beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [01/18] incubator-beam git commit: Update checkstyle.xml to put all imports in one group
Date Wed, 24 Aug 2016 21:01:38 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 603f337b1 -> 0f072414b


Update checkstyle.xml to put all imports in one group


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/5776b936
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/5776b936
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/5776b936

Branch: refs/heads/master
Commit: 5776b9365c9a786d66d4d8e9dce6e3a8060c74d2
Parents: 603f337
Author: bchambers <bchambers@google.com>
Authored: Tue Aug 23 17:06:17 2016 -0700
Committer: bchambers <bchambers@google.com>
Committed: Wed Aug 24 12:55:45 2016 -0700

----------------------------------------------------------------------
 sdks/java/build-tools/src/main/resources/beam/checkstyle.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/5776b936/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml
----------------------------------------------------------------------
diff --git a/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml b/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml
index 4bb7428..47ddc5b 100644
--- a/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml
+++ b/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml
@@ -86,11 +86,10 @@ page at http://checkstyle.sourceforge.net/config.html -->
 
     <module name="ImportOrder">
       <!-- Checks for out of order import statements. -->
-
       <property name="severity" value="error"/>
-      <property name="groups" value="org.apache.beam,com.google,android,com,io,Jama,junit,net,org,sun,java,javax"/>
       <!-- This ensures that static imports go first. -->
       <property name="option" value="top"/>
+      <property name="sortStaticImportsAlphabetically" value="true"/>
       <property name="tokens" value="STATIC_IMPORT, IMPORT"/>
       <message key="import.ordering"
                value="Import {0} appears after other imports that it should precede"/>


Mime
View raw message