Skip to content

Commit

Permalink
Fixes result types of HttpServerHandler and HttpClientHandler.create() (
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe authored and adriancole committed Feb 25, 2018
1 parent 1513015 commit 9947518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
public final class HttpClientHandler<Req, Resp> {

public static <Req, Resp> HttpClientHandler create(HttpTracing httpTracing,
public static <Req, Resp> HttpClientHandler<Req, Resp> create(HttpTracing httpTracing,
HttpClientAdapter<Req, Resp> adapter) {
return new HttpClientHandler<>(httpTracing, adapter);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
public final class HttpServerHandler<Req, Resp> {

public static <Req, Resp> HttpServerHandler create(HttpTracing httpTracing,
public static <Req, Resp> HttpServerHandler<Req, Resp> create(HttpTracing httpTracing,
HttpServerAdapter<Req, Resp> adapter) {
return new HttpServerHandler<>(
httpTracing.tracing().tracer(),
Expand Down

0 comments on commit 9947518

Please sign in to comment.