Skip to content

Spare a few redundant calls in SleepingAction around determining the … #3903

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

Merged
merged 1 commit into from
May 2, 2016
Merged

Spare a few redundant calls in SleepingAction around determining the … #3903

merged 1 commit into from
May 2, 2016

Conversation

rzsombor
Copy link
Contributor

@rzsombor rzsombor commented May 1, 2016

…delay value

  • Remove redundant outer conditional.
  • Skip calling into System.currentTimeMillis(), which could potentially result in different values.

…delay value

- Remove redundant outer conditional.
- Skip calling into System.currentTimeMillis(), which could potentially result in different values.
@akarnokd
Copy link
Member

akarnokd commented May 1, 2016

👍

1 similar comment
@zsxwing
Copy link
Member

zsxwing commented May 2, 2016

👍

@zsxwing zsxwing merged commit 2bf53a9 into ReactiveX:1.x May 2, 2016
@rzsombor rzsombor deleted the SleepingActionPolish branch May 2, 2016 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants