Skip to content

[SPARK-56780] Upgrade PMD to 7.24.0#665

Closed
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:dongjoon/xenodochial-hellman-1d6482
Closed

[SPARK-56780] Upgrade PMD to 7.24.0#665
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:dongjoon/xenodochial-hellman-1d6482

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade PMD from 7.23.0 to 7.24.0.

Why are the changes needed?

To stay current with the latest stable PMD release.

PMD 7.24.0 introduces a new UnnecessaryWarningSuppression rule that flagged one redundant @SuppressWarnings("PMD.UnitTestShouldIncludeAssert") in SparkOperatorConfigMapReconcilerTest.sanityTest. The annotation is removed because the lambda inside await().untilAsserted(...) already contains an assertThat(...) call, so the suppression is no longer needed.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

Generated-by: Claude Code

@dongjoon-hyun dongjoon-hyun force-pushed the dongjoon/xenodochial-hellman-1d6482 branch from 4ec396d to 876cda6 Compare May 7, 2026 17:57
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-56753] Upgrade PMD to 7.24.0 [SPARK-56780] Upgrade PMD to 7.24.0 May 7, 2026
This PR aims to upgrade PMD from 7.23.0 to 7.24.0.

To stay current with the latest stable PMD release.
- https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.24.0

PMD 7.24.0 introduces a new `UnnecessaryWarningSuppression` rule that flagged one redundant `@SuppressWarnings("PMD.UnitTestShouldIncludeAssert")` in `SparkOperatorConfigMapReconcilerTest.sanityTest`. The annotation is removed because the lambda inside `await().untilAsserted(...)` already contains an `assertThat(...)` call, so the suppression is no longer needed.

No.

Pass the CIs.

Generated-by: Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dongjoon-hyun dongjoon-hyun force-pushed the dongjoon/xenodochial-hellman-1d6482 branch from 876cda6 to 50d801c Compare May 7, 2026 18:16
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Rebased to main to resolve the conflict.

@dongjoon-hyun dongjoon-hyun added this to the 0.9.0 milestone May 7, 2026
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun dongjoon-hyun deleted the dongjoon/xenodochial-hellman-1d6482 branch May 7, 2026 18:17
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