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

1.x: Deprecate Notification.createOnCompleted #4466

Merged
merged 1 commit into from
Sep 2, 2016
Merged

1.x: Deprecate Notification.createOnCompleted #4466

merged 1 commit into from
Sep 2, 2016

Conversation

vanniktech
Copy link
Collaborator

Fix #4462

It might just as well shine some light into which method should be used and explain why there are 2

@codecov-io
Copy link

Current coverage is 84.26% (diff: 100%)

Merging #4466 into 1.x will increase coverage by 0.07%

@@                1.x      #4466   diff @@
==========================================
  Files           271        271          
  Lines         17607      17607          
  Methods           0          0          
  Messages          0          0          
  Branches       2684       2684          
==========================================
+ Hits          14823      14836    +13   
+ Misses         1920       1918     -2   
+ Partials        864        853    -11   

Powered by Codecov. Last update 7593247...561b5df

@akarnokd akarnokd merged commit 11343ae into ReactiveX:1.x Sep 2, 2016
@@ -67,8 +67,10 @@
*
* @param <T> the actual value type held by the Notification
* @param type
* @deprecated this method does the same as {@link #createOnCompleted()} and does not use the passed in type hence it's useless.
Copy link
Contributor

Choose a reason for hiding this comment

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

The argument allows for explicit type inference without needing to specify it on the method call directly when you already have a typed Class.

@vanniktech vanniktech deleted the 1.x_deprecate branch July 23, 2018 13:26
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.

4 participants