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

Final and static field modifiers in Broker #922

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Final and static field modifiers in Broker #922

merged 2 commits into from
Jan 26, 2024

Conversation

abyrd
Copy link
Member

@abyrd abyrd commented Dec 20, 2023

Many constants (as indicated by capitalization) were not static. One field always set in the constructor was not final. The list of resultAssemblers WAS static. This may be a remnant of pre-component design. This was not problematic because we never construct more than one Broker, but by design it should be possible to do so.

These changes are not expected to improve or alter behavior, so if we may do a bugfix point release (e.g. for #919 through #921) we may want to defer merging this until the next full round of testing for a release.

Many constants (as indicated by capitalization) were not static.
One field always set in the constructor was not final.
The list of resultAssemblers WAS static. This may be a remnant of pre-
component design. This was not problematic because we never construct
more than one Broker, but it should be possible to do (no global state).
@abyrd abyrd merged commit 12a1b7a into dev Jan 26, 2024
3 checks passed
@abyrd abyrd deleted the broker-static-final branch January 26, 2024 17:31
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