Skip to content

Commit

Permalink
Merge pull request #8 from GoogleCloudPlatform/import-order
Browse files Browse the repository at this point in the history
Checkstyle: have SAME_PACKAGE imports appear before third-party imports
  • Loading branch information
lesv committed Mar 29, 2016
2 parents fcbbca5 + 2e5da26 commit 79d5d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="CustomImportOrder">
<property name="specialImportsRegExp" value="com.google"/>
<property name="specialImportsRegExp" value="^javax\."/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules" value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
<property name="customImportOrderRules" value="STATIC###SAME_PACKAGE(2)###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS"/>
</module>
<module name="MethodParamPad"/>
<module name="OperatorWrap">
Expand Down

0 comments on commit 79d5d11

Please sign in to comment.