dongjoon-hyun opened a new pull request, #942:
URL: https://github.com/apache/spark-kubernetes-operator/pull/942

   ### What changes were proposed in this pull request?
   
   This PR aims to upgrade PMD from 7.27.0 to 7.28.0.
   
   Since the ruleset references whole rule categories, the rules added or 
changed in 7.28.0 apply automatically and reported 15 violations.
   - `OnDemandImport` (new in 7.28.0, 14 violations) is excluded because this 
project allows wildcard imports, like Checkstyle (no `AvoidStarImport`) and the 
already excluded `TooManyStaticImports` rule.
   - `SimplifyConditional` is fixed in place: 
`PrometheusPullModelHandler.formatGauge` moves the `instanceof Number` check 
forward and removes the redundant null check.
   
   ### Why are the changes needed?
   
   To use the latest PMD release, which includes new Java rules and bug fixes.
   
   - https://github.com/pmd/pmd/releases/tag/pmd_releases%2F7.28.0 (2026-09-25)
   
   ### 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 Opus 5.5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to