You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhuangchong (via GitHub)" <gi...@apache.org> on 2023/04/18 05:19:44 UTC
[GitHub] [incubator-paimon] zhuangchong commented on a diff in pull request #926: [Improve] remove checkstyle and scalastyle check
zhuangchong commented on code in PR #926:
URL: https://github.com/apache/incubator-paimon/pull/926#discussion_r1169499063
##########
pom.xml:
##########
@@ -798,7 +763,11 @@ under the License.
<importOrder>
<order>org.apache.paimon,org.apache.paimon.shaded,,javax,java,scala,\#</order>
</importOrder>
-
+ <replaceRegex>
+ <name>Remove wildcard imports</name>
+ <searchRegex>import\s+(static)*\s*[^\*\s]+\*;(\r\n|\r|\n)</searchRegex>
+ <replacement>$1</replacement>
+ </replaceRegex>
Review Comment:
This is not a very good solution, the part is to remove the import * if I understand correctly. If this is the case, after the contributor executes `mvn spotless:apply`, he submits the PR, and only when he executes the CI will he find that some classes are not imported.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org