Skip to content

Commit

Permalink
[Improve]Temporarily disable import sort (#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
crossoverJie authored Aug 25, 2024
1 parent 7facbe8 commit 20f89f3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions script/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,18 @@
value="Redundant import {0}."/>
</module>

<module name="ImportOrder">
<!--
Temporarily disabled: https://github.com/apache/hertzbeat/issues/2594
-->
<!--<module name="ImportOrder">
<property name="severity" value="error"/>
<!-- This ensures that static imports go first. -->
&lt;!&ndash; This ensures that static imports go first. &ndash;&gt;
<property name="option" value="top"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
<property name="tokens" value="STATIC_IMPORT, IMPORT"/>
<message key="import.ordering"
value="Import {0} appears after other imports that it should precede"/>
</module>
</module>-->

<module name="AvoidStarImport">
<property name="severity" value="error"/>
Expand Down

0 comments on commit 20f89f3

Please sign in to comment.