Skip to content

chore: bump spotbugs 4.10.2.0 and related fixes#3458

Merged
csviri merged 2 commits into
operator-framework:mainfrom
csviri:sporbugs-fix
Jul 1, 2026
Merged

chore: bump spotbugs 4.10.2.0 and related fixes#3458
csviri merged 2 commits into
operator-framework:mainfrom
csviri:sporbugs-fix

Conversation

@csviri

@csviri csviri commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 1, 2026 10:57
@openshift-ci openshift-ci Bot requested review from metacosm and xstefank July 1, 2026 10:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the build’s SpotBugs Maven plugin version and applies small Java type-handling adjustments in a migration recipe, likely to align with new/stricter analysis or nullness expectations introduced by the SpotBugs bump.

Changes:

  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.8.3 to 4.10.2.0.
  • Refactor RemoveMethodDeclaration to store J.ClassDeclaration type in a local JavaType.FullyQualified variable and handle nulls explicitly before calling typeMatchesOrImplements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pom.xml Bumps the SpotBugs Maven plugin version used by the build.
migration/src/main/java/io/javaoperatorsdk/operator/migration/RemoveMethodDeclaration.java Makes type retrieval/null handling more explicit while preserving the in-place unsafeSet mutation behavior.

dependabot Bot and others added 2 commits July 1, 2026 15:28
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.9.8.3 to 4.10.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](spotbugs/spotbugs-maven-plugin@spotbugs-maven-plugin-4.9.8.3...spotbugs-maven-plugin-4.10.2.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-version: 4.10.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri merged commit 4df7988 into operator-framework:main Jul 1, 2026
27 checks passed
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.

3 participants