Skip to content

Improve compose() generics#4972

Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom
ZacSweers:z/composeGenerics
Jan 8, 2017
Merged

Improve compose() generics#4972
akarnokd merged 1 commit intoReactiveX:2.xfrom
ZacSweers:z/composeGenerics

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


@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