Skip to content

Commit

Permalink
Add Checkstyle rule for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
electrum committed Oct 5, 2015
1 parent 6dff7ce commit ae5bec3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/checkstyle/checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@
<module name="AvoidStarImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="ImportOrder">
<property name="groups" value="*,javax,java"/>
<property name="separated" value="true"/>
<property name="option" value="bottom"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
</module>

<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
Expand Down

0 comments on commit ae5bec3

Please sign in to comment.