Pankraz76 commented on code in PR #21269:
URL: https://github.com/apache/kafka/pull/21269#discussion_r2675802937
##########
README.md:
##########
@@ -211,6 +211,16 @@ The import order is a part of static check. please call
`spotlessApply` to optim
./gradlew spotlessApply
+#### Rewrite
+The build system incorporates [Moderne](https://moderne.io/) rewrite
capabilities for automated code transformations.
Review Comment:
Actually, it's not fully automated—it just fails the build when it detects
problematic code, which is exactly what everyone wants to see.
Just like Error Prone offers
[patching](https://errorprone.info/docs/patching), Rewrite does too. That's a
good thing, because it saves time on trivial fixes that the tool can handle
automatically.
Still, it's up to each developer to apply and verify the changes themselves.
It's simply an optional tool (`run`), not a requirement.
As long as the code complies in the end, Rewrite is satisfied. How you get
there is up to each individual.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]