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

Improve compose() generics #4972

Merged
merged 1 commit into from
Jan 8, 2017
Merged

Conversation

ZacSweers
Copy link
Contributor

Resolves #4950

I tested and built with the added tests on Java 6, 7, and 8. Not sure if you want to keep them in before merging since they're not really functional in nature, just there to make sure they compile.

@ZacSweers
Copy link
Contributor Author

Side-note: gets even better on Java 8, which removes the need for a type argument at all in those examples!

screen shot 2017-01-08 at 2 58 20 am

@@ -83,7 +82,7 @@ public void maybeTransformerThrows() {
}

@Test
public void completabeTransformerThrows() {
public void completableTransformerThrows() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Took the opportunity to fix a typo in this method name

@codecov-io
Copy link

codecov-io commented Jan 8, 2017

Current coverage is 95.63% (diff: 100%)

Merging #4972 into 2.x will increase coverage by 0.10%

@@                2.x      #4972   diff @@
==========================================
  Files           591        591          
  Lines         37959      37959          
  Methods           0          0          
  Messages          0          0          
  Branches       5756       5756          
==========================================
+ Hits          36264      36302    +38   
+ Misses          721        698    -23   
+ Partials        974        959    -15   

Powered by Codecov. Last update d173b6d...a7b01f3

@akarnokd akarnokd added this to the 2.0 backlog milestone Jan 8, 2017
@akarnokd akarnokd merged commit a3ccbf9 into ReactiveX:2.x Jan 8, 2017
@ZacSweers
Copy link
Contributor Author

ZacSweers commented Jan 8, 2017

Thanks!

@ZacSweers ZacSweers deleted the z/composeGenerics branch January 8, 2017 11:38
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