Skip to content

Commit

Permalink
Made to(Function).andThen(ThrowingConsumer) more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Schönborn committed Nov 4, 2016
1 parent 62c9b93 commit d4918fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riptide-core/src/main/java/org/zalando/riptide/Route.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static <T> Adapter<ClientHttpResponse, T> to(

@FunctionalInterface
interface Adapter<T, R> {
ThrowingConsumer<T, Exception> andThen(final ThrowingConsumer<R, Exception> consumer);
ThrowingConsumer<T, Exception> andThen(final ThrowingConsumer<R, ? extends Exception> consumer);
}

}

0 comments on commit d4918fc

Please sign in to comment.