Skip to content

2.x: Fix MaybeTimber by using scheduler and unit #4529

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 3 commits into from
Sep 12, 2016
Merged

2.x: Fix MaybeTimber by using scheduler and unit #4529

merged 3 commits into from
Sep 12, 2016

Conversation

vanniktech
Copy link
Collaborator

Also one question why does CompletableTimer check if (!sd.isDisposed()) { before replacing but SingleTimer does not? I adjusted MaybeTimber to SingleTimer so I didn't add the check there either.

However I feel like this should be consistent, can you elaborate which one is wanted?

@codecov-io
Copy link

codecov-io commented Sep 12, 2016

Current coverage is 79.21% (diff: 86.20%)

Merging #4529 into 2.x will increase coverage by 0.46%

@@                2.x      #4529   diff @@
==========================================
  Files           524        527     +3   
  Lines         34980      35877   +897   
  Methods           0          0          
  Messages          0          0          
  Branches       5443       5482    +39   
==========================================
+ Hits          27548      28421   +873   
- Misses         5460       5487    +27   
+ Partials       1972       1969     -3   

Powered by Codecov. Last update ebec0b2...3541f13

@@ -1238,7 +1238,7 @@
}

/**
* Returns a Flowable that emits one item after a specified delay on a specified Scheduler.
* Returns a Maybe that emits one item after a specified delay on a specified Scheduler.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a cleanup of bunch of these so you may need to rebase this after.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was created on the current 2.x so after you posted that earlier PR in any case if you cleaned this one up already I could also just revert this one change


import io.reactivex.*;
import io.reactivex.internal.disposables.SequentialDisposable;
import io.reactivex.Completable;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update your IDE settings to not unroll * imports.

@akarnokd akarnokd merged commit 56d5586 into ReactiveX:2.x Sep 12, 2016
@vanniktech vanniktech deleted the 2.x_fix_MaybeTimer branch September 12, 2016 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants