Skip to content

Commit 58c9e1d

Browse files
committed
Change import order (coding style)
1 parent d07c094 commit 58c9e1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

script/style/checkstyle.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,10 @@
197197
<module name="OverloadMethodsDeclarationOrder"/>
198198
<module name="VariableDeclarationUsageDistance"/>
199199
<module name="CustomImportOrder">
200-
<property name="sortImportsInGroupAlphabetically" value="true"/>
200+
<property name="sortImportsInGroupAlphabetically" value="false"/>
201201
<property name="separateLineBetweenGroups" value="true"/>
202-
<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>
202+
<property name="standardPackageRegExp" value="^(android|com|junit|net|org|java|javax)\."/>
203+
<property name="customImportOrderRules" value="STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###STATIC"/>
203204
</module>
204205
<module name="MethodParamPad"/>
205206
<module name="ParenPad"/>

0 commit comments

Comments
 (0)