Commit 2327e51
authored
KAFKA-20182 Remove removeUnusedImports and upgrade spotless to 8.4.0 (#22025)
Follow-up to #22012. Removes removeUnusedImports because its engines
(google-java-format, cleanthat) can non-deterministically throw
InvocationTargetException under parallel execution (see
diffplug/spotless#2850 for a similar report).
Unused imports are still enforced by checkstyle (UnusedImports +
RedundantImport).
Also bumps Spotless from 8.3.0 to 8.4.0.
Verified locally:
- `./gradlew build -x test` passes (spotlessCheck + checkstyle +
spotbugs + compile all green)
- `./gradlew clean spotlessApply --rerun-tasks --no-build-cache` ran 700
times with 0 failures
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>1 parent 4acdac6 commit 2327e51
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
882 | 879 | | |
883 | 880 | | |
884 | 881 | | |
| |||
0 commit comments