Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-51171][BUILD] Upgrade checkstyle to 10.21.2 #49899

Closed
wants to merge 1 commit into from

Conversation

wayneguow
Copy link
Contributor

What changes were proposed in this pull request?

This PR aims to upgrade checkstyle from 10.20.2 to 10.21.2.

Why are the changes needed?

To pick up bug fixes:

Full release notes:

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manually by:

bash ./dev/lint-java

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Feb 12, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM (Pending CIs). Thank you, @wayneguow .

@dongjoon-hyun
Copy link
Member

Merged to master. Thank you, @wayneguow and all!

@wayneguow wayneguow deleted the checkstyle branch February 25, 2025 03:18
kazemaksOG pushed a commit to kazemaksOG/spark-custom-scheduler that referenced this pull request Mar 27, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade `checkstyle` from 10.20.2 to 10.21.2.

### Why are the changes needed?

To pick up bug fixes:
- checkstyle-10.21.2
checkstyle/checkstyle#15939 - lineWrappingIndentation falsely detects incorrect indentation for text blocks
checkstyle/checkstyle#16101 - ignoreFieldDeclaration property should have the highest priority in MagicNumberCheck
- checkstyle-10.21.1
checkstyle/checkstyle#11374 - UnusedLocalVariable: False Positive when inner class has same field as variable

Full release notes:

- https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-10.21.2
- https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-10.21.1

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manually by:
```
bash ./dev/lint-java
```

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#49899 from wayneguow/checkstyle.

Authored-by: Wei Guo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants