Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Tidy up Try

- map() and flatMap() now both throw exceptions that happen during the execution of the given function

- tryMap() is introduced to turn any exception thrown during the given function's invocation into a failed Try

- orElseMapFailure() is renamed to getOrMapFailure()

- getSuccessfulOrElse() is replaced with tryMap().orElseMapFailure()

Plus a few bits of polish.

Added Javadoc.

  1. … 7 more files in changeset.
Replace separate outcome and failure with Try in execution result

  1. … 14 more files in changeset.
Or-else functionality for Try

  1. … 1 more file in changeset.
Move Try to base services

And add some tests.

  1. … 6 more files in changeset.