[MINOR][BUILD] Fix lint-java breaks in Java#17072
[MINOR][BUILD] Fix lint-java breaks in Java#17072HyukjinKwon wants to merge 3 commits intoapache:masterfrom
Conversation
There was a problem hiding this comment.
This seems actually a correct order but there is a bug in checkstyle. Please see https://github.com/checkstyle/checkstyle/issues/903. I am willing to disable ModifierOrder for this method if anyone thinks so.
There was a problem hiding this comment.
The compiler accepts it but I agree that annotations conventionally come before modifiers. They usually come on the line above.
|
I haven't checked the tests. Maybe, let me wait for the test results before cc'ing someone. |
|
Test build #73480 has finished for PR 17072 at commit
|
f196744 to
666ffed
Compare
|
Test build #73481 has started for PR 17072 at commit |
|
retest this please |
|
Thank you, yes just last night I put together some changes to fix this too, because I added some problems when I changed to Java 8 syntax. Maybe you can apply https://github.com/srowen/spark/commit/fcc66a0a79399b81c08c17f93073a9635de90a95.patch to your branch to see if I got anything else? |
| @Override | ||
| public final void onStageCompleted(SparkListenerStageCompleted stageCompleted) { | ||
| onEvent(stageCompleted); | ||
| onEvent(stageCompleted); |
There was a problem hiding this comment.
Yeah, the whole file is mis-indented. The first indent is still 4 spaces. I think you could fix that too if you like
There was a problem hiding this comment.
Ah, sure. Thank you. Let me address the comments and compare this to your work too.
|
Test build #73482 has finished for PR 17072 at commit
|
|
Test build #73485 has finished for PR 17072 at commit
|
|
Test build #73486 has finished for PR 17072 at commit
|
|
Thank you @srowen. |
What changes were proposed in this pull request?
This PR proposes to fix the lint-breaks as below:
How was this patch tested?
Manually via