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

Remove possible NPE #1469

Merged
merged 1 commit into from
Feb 7, 2017
Merged

Remove possible NPE #1469

merged 1 commit into from
Feb 7, 2017

Conversation

petercla
Copy link

No description provided.

@spencergibb
Copy link
Contributor

Doesn't seem any different to me.

@petercla
Copy link
Author

petercla commented Jan 31, 2017 via email

@mattrjacobs
Copy link
Contributor

Yeah, this looks like a good change to me. Thanks for the PR @petercla !

If the internal state is getting mutated by a different thread while peek is inflight, then this method is safer.

@mattrjacobs mattrjacobs merged commit 7fdda15 into Netflix:master Feb 7, 2017
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.

3 participants