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

ARTEMIS-5094 potential null dereference in QueueImpl #5449

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

jbertram
Copy link
Contributor

The server variable is used liberally through this Queue implementation. It makes sense to require it to be non-null.

The `server` variable is used liberally through this `Queue`
implementation. It makes sense to assume it is non-null. If it is `null`
then a `NullPointerException` will be thrown immediately just as if we
used `Objects.requireNonNull(server)`.
@gemmellr gemmellr merged commit 1ba0b65 into apache:main Jan 20, 2025
6 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.

2 participants