Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 7, 2024

What changes were proposed in this pull request?

This PR aims to use the latest PMD 6.x rules instead of the deprecated ones.

Why are the changes needed?

There are 204 warnings from PMD like the following. We had better fix it before we do the release.

Use Rule name category/java/errorprone.xml/BrokenNullCheck instead of the deprecated Rule name rulesets/java/basic.xml/BrokenNullCheck. PMD 7.0.0 will remove support for this deprecated Rule name usage.
$ ./gradlew clean build | grep PMD | wc -l
     204 

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs and check the CI link.

Or, manually check.

$ ./gradlew clean build | grep PMD | wc -l
       0

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

No.

@dongjoon-hyun
Copy link
Member Author

cc @viirya , @jiangzho

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya ! Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-49148 branch August 8, 2024 01:56
@dongjoon-hyun dongjoon-hyun mentioned this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants