Skip to content

KAFKA-10787: Apply spotless to tools and tools-api module#16262

Merged
chia7712 merged 2 commits intoapache:trunkfrom
gongxuanzhang:import-order-tools
Jun 11, 2024
Merged

KAFKA-10787: Apply spotless to tools and tools-api module#16262
chia7712 merged 2 commits intoapache:trunkfrom
gongxuanzhang:import-order-tools

Conversation

@gongxuanzhang
Copy link
Copy Markdown
Contributor

@gongxuanzhang gongxuanzhang commented Jun 10, 2024

This PR is sub PR from #16097.
It is part of a series of changes to progressively apply [spotless plugin(import-order)] across all modules. In this step, the plugin is activated in the Tools module.
The transaction-coordinator and server-common modules have been applied. see #16172.

How to test:

We can run ./gradlew spotlessCheck check for code that does not meet requirements.
If we get report that error , we can run ./gradlew spotlessApply to review my code.
In this PR, all change(exclude build.gradle) byspotlessApply`

@gongxuanzhang gongxuanzhang changed the title KAFKA-10787: Apply spotless to tools module KAFKA-10787: Apply spotless to tools and tools-api module Jun 10, 2024
@gongxuanzhang
Copy link
Copy Markdown
Contributor Author

Failed test

JDK 21 and Scala 2.13

test jira
testOutdatedCoordinatorAssignment https://issues.apache.org/jira/browse/KAFKA-15900
testOffsetTranslationBehindReplicationFlow https://issues.apache.org/jira/browse/KAFKA-15197
testTaskRequestWithOldStartMsGetsUpdated https://issues.apache.org/jira/browse/KAFKA-15760

JDK 8 and Scala 2.12

test jira
testReplicationIsCreatingTopicsUsingProvidedForwardingAdmin https://issues.apache.org/jira/browse/KAFKA-14453

@gongxuanzhang
Copy link
Copy Markdown
Contributor Author

@chia7712 plz take a look,think you!

Copy link
Copy Markdown
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants