This is an automated email from the ASF dual-hosted git repository.
gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 20f89f3b3 [Improve]Temporarily disable import sort (#2601)
20f89f3b3 is described below
commit 20f89f3b3bc3fad1e0362d1426c2dc3ba52d6a53
Author: crossoverJie <[email protected]>
AuthorDate: Sun Aug 25 12:16:18 2024 +0800
[Improve]Temporarily disable import sort (#2601)
---
script/checkstyle/checkstyle.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/script/checkstyle/checkstyle.xml b/script/checkstyle/checkstyle.xml
index 91a4d9b97..fc1623a35 100644
--- a/script/checkstyle/checkstyle.xml
+++ b/script/checkstyle/checkstyle.xml
@@ -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. -->
+ <!– This ensures that static imports go first. –>
<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"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]