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

Feature/#5045 more generics in RxJavaPlugins #5058

Merged
merged 4 commits into from
Feb 6, 2017

Conversation

jschneider
Copy link
Contributor

I widened the bounds for the functions. Looks good for me.
Related to #5045

@@ -16,14 +16,26 @@

package io.reactivex.plugins;

import io.reactivex.*;
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 keep imports as *

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Changed the code style settings accordingly.
Do you have a code style configuration for IntelliJ Idea?

@akarnokd
Copy link
Member

akarnokd commented Feb 3, 2017

Looks like this needs rebasing. I'm sorrry, I'm trying to merge your PRs in proper order but multiple recent PRs change the same file(s).

@jschneider
Copy link
Contributor Author

Yeah, no problem. Rebasing isn't too difficult ;-)

@jschneider
Copy link
Contributor Author

fixed import and rebased

@akarnokd
Copy link
Member

akarnokd commented Feb 5, 2017

Looks like there is a compilation error with the changes.

@jschneider
Copy link
Contributor Author

Uups. Fixed it (at least I hope)

@akarnokd akarnokd added this to the 2.0 backlog milestone Feb 5, 2017
@codecov
Copy link

codecov bot commented Feb 5, 2017

Codecov Report

Merging #5058 into 2.x will increase coverage by -0.08%.

@@             Coverage Diff              @@
##                2.x    #5058      +/-   ##
============================================
- Coverage     95.65%   95.58%   -0.08%     
+ Complexity     5544     5538       -6     
============================================
  Files           612      612              
  Lines         39575    39575              
  Branches       5554     5554              
============================================
- Hits          37857    37828      -29     
- Misses          746      759      +13     
- Partials        972      988      +16
Impacted Files Coverage Δ Complexity Δ
.../main/java/io/reactivex/plugins/RxJavaPlugins.java 100% <100%> (ø) 138 <36> (ø)
.../operators/flowable/FlowableBlockingSubscribe.java 90.9% <ø> (-6.07%) 9% <ø> (-1%)
...reactivex/internal/operators/maybe/MaybeUsing.java 93.93% <ø> (-6.07%) 4% <ø> (ø)
...in/java/io/reactivex/subjects/BehaviorSubject.java 84.97% <ø> (-5.7%) 56% <ø> (ø)
...ternal/operators/completable/CompletableUsing.java 95.23% <ø> (-4.77%) 4% <ø> (ø)
...rnal/subscriptions/DeferredScalarSubscription.java 93.84% <ø> (-4.62%) 27% <ø> (-1%)
...l/operators/observable/ObservableFlatMapMaybe.java 92.15% <ø> (-4.58%) 2% <ø> (ø)
.../internal/disposables/ListCompositeDisposable.java 96% <ø> (-4%) 33% <ø> (-2%)
...rnal/operators/flowable/FlowableFlatMapSingle.java 94.5% <ø> (-3.3%) 2% <ø> (ø)
...nternal/operators/observable/ObservableWindow.java 98% <ø> (-2%) 3% <ø> (ø)
... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14ea26b...4ae8c82. Read the comment docs.

import io.reactivex.Observer;
import io.reactivex.Scheduler.Worker;
import io.reactivex.disposables.*;
import io.reactivex.disposables.Disposable;
Copy link
Member

Choose a reason for hiding this comment

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

Could you also restore these import changes to their * form?

import io.reactivex.exceptions.TestException;
import io.reactivex.flowables.ConnectableFlowable;
import io.reactivex.functions.*;
import io.reactivex.functions.BiFunction;
Copy link
Member

Choose a reason for hiding this comment

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

Please restore these as well.

@akarnokd akarnokd merged commit 217c8c2 into ReactiveX:2.x Feb 6, 2017
@jschneider jschneider deleted the feature/#5045-more-generics branch February 6, 2017 20:40
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.

2 participants