panbingkun opened a new pull request, #46557: URL: https://github.com/apache/spark/pull/46557
### What changes were proposed in this pull request? The pr aims to add a `rule` to `check file headers` for `the java side`, and `fix` inconsistent files. ### Why are the changes needed? On the scala side, we have a rule to `check file header`s, but we have no corresponding rules on the `java` side to do the same thing. ### Does this PR introduce _any_ user-facing change? Yes, only for spark developers. ### How was this patch tested? - Manually test ``` sh dev/lint-java Using `mvn` from path: /Users/panbingkun/Developer/infra/maven/maven/bin/mvn -e Checkstyle checks passed. ``` - Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
