Skip to content

Mark builder as notThreadSafe for spotbugs - #6593

Merged
ddanielr merged 1 commit into
apache:2.1from
ddanielr:spotbugs/mark-builder-as-not-thread-safe
Oct 16, 2026
Merged

ddanielr merged 1 commit into
apache:2.1from
ddanielr:spotbugs/mark-builder-as-not-thread-safe

Conversation

@ddanielr

Copy link
Copy Markdown
Contributor

A newer spotbugs version throws errors that this class is not thread safe.
Since this is a builder class, we don't expect multiple threads to ever use it so marking it as "NotThreadSafe" is sufficient to stop spotbugs from erroring.

This change is related to #6486. Since that PR is rather large I'm breaking down the changes into smaller change sets with the final PR being the spotbugs version bump.

A newer spotbugs version throws errors that this class is not thread
safe.
Since this is a builder class, we don't expect multiple threads to ever
use it so marking it as "NotThreadSafe" is sufficent.
@ddanielr ddanielr added this to the 2.1.7 milestone Oct 16, 2026
@ddanielr
ddanielr requested a review from dlmarion October 16, 2026 14:53
@ddanielr
ddanielr merged commit 1321f26 into apache:2.1 Oct 16, 2026
9 checks passed
@ddanielr
ddanielr deleted the spotbugs/mark-builder-as-not-thread-safe branch October 16, 2026 19:53
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