Browse Source

Update checkstyle import rule

Update the checkstyle rule to enforce the blank line between `java`
and `javax`.

Closes gh-23539
pull/23582/head
Phillip Webb 6 years ago
parent
commit
6fbd4841ec
  1. 2
      src/checkstyle/checkstyle.xml

2
src/checkstyle/checkstyle.xml

@ -90,7 +90,7 @@ @@ -90,7 +90,7 @@
<property name="processJavadoc" value="true" />
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck">
<property name="groups" value="/javax?/,/[^org\.springframework]/,org.springframework" />
<property name="groups" value="java,/^javax?\./,*,org.springframework" />
<property name="ordered" value="true" />
<property name="separated" value="true" />
<property name="option" value="bottom" />

Loading…
Cancel
Save