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

Remove XResource classes #4126

Merged
merged 1 commit into from
Jun 25, 2016
Merged

Remove XResource classes #4126

merged 1 commit into from
Jun 25, 2016

Conversation

akarnokd
Copy link
Member

This PR removes the XResource types and replaces them with XDisposable or XSubscription where necessary.

@akarnokd akarnokd added this to the 2.0 RC 1 milestone Jun 25, 2016
@codecov-io
Copy link

Current coverage is 69.56%

Merging #4126 into 2.x will decrease coverage by 0.09%

@@                2.x      #4126   diff @@
==========================================
  Files           384        383     -1   
  Lines         27125      27074    -51   
  Methods           0          0          
  Messages          0          0          
  Branches       4364       4355     -9   
==========================================
- Hits          18896      18834    -62   
- Misses         6327       6349    +22   
+ Partials       1902       1891    -11   

Powered by Codecov. Last updated by 05e160c...28b7449

@akarnokd akarnokd merged commit 68a9a66 into ReactiveX:2.x Jun 25, 2016
@akarnokd akarnokd deleted the XResourceRemove branch June 25, 2016 21:10
@@ -15,6 +15,9 @@
import org.reactivestreams.Subscription;

final class SubscriptionDisposable extends ReferenceDisposable<Subscription> {
/** */
private static final long serialVersionUID = -707001650852963139L;
Copy link
Contributor

Choose a reason for hiding this comment

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

What are these for? We shouldn't be encouraging people to serialize these instances.

Copy link
Member Author

Choose a reason for hiding this comment

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

Eclipse complains about serializable classes (i.e., extending AtomicX) need these fields, even though we don't care about serialization. A small inconvenience.

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