-
-
Notifications
You must be signed in to change notification settings - Fork 639
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
Try map failure #1924
Try map failure #1924
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1924 +/- ##
============================================
+ Coverage 98.03% 98.03% +<.01%
- Complexity 5079 5082 +3
============================================
Files 89 89
Lines 11549 11553 +4
Branches 1521 1522 +1
============================================
+ Hits 11322 11326 +4
Misses 109 109
Partials 118 118
Continue to review full report at Codecov.
|
} | ||
} | ||
|
||
private static <T> Resource<T> resource(T value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just my preference: please consider renaming to Closeable
or TestAutoCloseable
or DummyCloseable
etc and provide a static of
factory, as done in other places.
@@ -457,8 +457,8 @@ default T single() { | |||
* Matches each element with a unique key that you extract from it. | |||
* If the same key is present twice, the function will return {@code None}. | |||
* | |||
* @param classifier A function which extracts a key from elements | |||
* @param <K> key class type | |||
* @param getKey A function which extracts a key from elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Note: Calls to
Solution: make Try an abstract class (see #1825) |
A follow-up of #1923