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

Update SpotBugs and fix new issues #420

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Update SpotBugs and fix new issues #420

merged 3 commits into from
Nov 27, 2023

Conversation

bdemers
Copy link
Member

@bdemers bdemers commented Nov 21, 2023

  • Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.1.0
  • Move PatchOperationPath parsing into util method.
  • Explicitly configure lombok annotation processor

dependabot bot and others added 3 commits November 21, 2023 17:16
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.3.6 to 4.8.1.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](spotbugs/spotbugs-maven-plugin@spotbugs-maven-plugin-4.7.3.6...spotbugs-maven-plugin-4.8.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Construction of object now happens in util method as to not be vunlerable to finalizer attacks.
This is probably a nit, but SpotBugs/FindSecBugs flagged this issue in the latest update.

There are a few other minor related issues flagged by the spotbugs upgrade as well
- missing static keywords
- fields that could be private
This will prevent build cache misses
@bdemers bdemers merged commit 163f732 into develop Nov 27, 2023
2 checks passed
@bdemers bdemers deleted the spot-bugs-updates branch November 27, 2023 23:15
bdemers added a commit that referenced this pull request Nov 29, 2023
* Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.1.0

Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.3.6 to 4.8.1.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](spotbugs/spotbugs-maven-plugin@spotbugs-maven-plugin-4.7.3.6...spotbugs-maven-plugin-4.8.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Move PatchOperationPath parsing into util method.

Construction of object now happens in util method as to not be vunlerable to finalizer attacks.
This is probably a nit, but SpotBugs/FindSecBugs flagged this issue in the latest update.

There are a few other minor related issues flagged by the spotbugs upgrade as well
- missing static keywords
- fields that could be private

* Explicitly configure lombok annotation processor

This will prevent build cache misses

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant