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

Correct synchronization guard in groupByUntil #877

Merged
merged 1 commit into from
Feb 14, 2014

Conversation

pyrtsa
Copy link
Contributor

@pyrtsa pyrtsa commented Feb 14, 2014

Can't see how synchronized (key) { ... } could have been correct here; key will hardly ever be the same instance for different invocations of keySelector, and the comment on line 73 clearly states gate to be the guard for map.

Can't see how `synchronized (key) { ... }` could have been correct here; `key` will hardly ever be the same instance for different invocations of `keySelector`, and the comment on line 73 clearly states `gate` to be the guard for `map`.
@akarnokd
Copy link
Member

Nice catch.

@cloudbees-pull-request-builder

RxJava-pull-requests #809 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Feb 14, 2014
Correct synchronization guard in groupByUntil
@benjchristensen benjchristensen merged commit 2d921d1 into ReactiveX:master Feb 14, 2014
@pyrtsa pyrtsa deleted the patch-1 branch February 14, 2014 20:53
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
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.

None yet

4 participants