Skip to content

Commit

Permalink
Adding java and javax packages at the beggining of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chenejac committed Aug 23, 2023
1 parent 7fc97db commit 1936dfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ For more information on CheckStyle configurations below, see: http://checkstyle.
<module name="CustomImportOrder">
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="separateLineBetweenGroups" value="true"/>
<property name="customImportOrderRules" value="STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE"/>
<property name="specialImportsRegExp" value="^javax\."/>
<property name="standardPackageRegExp" value="^java\."/>
<property name="customImportOrderRules" value="STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE"/>
</module>

<!-- ##### Requirements for K&R Style braces ##### -->
Expand Down

0 comments on commit 1936dfa

Please sign in to comment.