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

chore(build): Update SpotBugs #866

Merged
merged 3 commits into from
Mar 17, 2022
Merged

Conversation

jan-law
Copy link
Contributor

@jan-law jan-law commented Mar 17, 2022

Fixes #813

Most of the new bugs were related to the ServiceRef object constructors and getters. Spotbugs outputs an EI_EXPOSE_REP bug for these, where "returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object". I've added a copy constructor to return new copies of the ServiceRef objects. Let me know what you think.

@jan-law jan-law added chore Refactor, rename, cleanup, etc. build labels Mar 17, 2022
@jan-law jan-law requested a review from andrewazores March 17, 2022 18:32
@andrewazores andrewazores merged commit 42d9220 into cryostatio:main Mar 17, 2022
@jan-law jan-law deleted the update-spotbugs branch March 17, 2022 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build chore Refactor, rename, cleanup, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SpotBugs is out of date
2 participants