Skip to content

Remove possible NPE#1469

Merged
mattrjacobs merged 1 commit intoNetflix:masterfrom
petercla:master
Feb 7, 2017
Merged

Remove possible NPE#1469
mattrjacobs merged 1 commit intoNetflix:masterfrom
petercla:master

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

3 participants