Skip to content

Commit

Permalink
Fix typo in core_guides/timelimiter (ReactiveX#482)
Browse files Browse the repository at this point in the history
Try.of() with method reference
  • Loading branch information
dlsrb6342 authored and RobWin committed Jun 2, 2019
1 parent 34d1204 commit 06ff9fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Integer result = timeLimiter.executeFutureSupplier(futureSupplier);
Callable restrictedCall = TimeLimiter
.decorateFutureSupplier(timeLimiter, futureSupplier);
Try.of(restrictedCall.call)
Try.of(restrictedCall::call)
.onFailure(throwable -> LOG.info("A timeout possibly occurred."));
----

Expand Down

0 comments on commit 06ff9fd

Please sign in to comment.