Skip to content

Commit

Permalink
fix client signature
Browse files Browse the repository at this point in the history
  • Loading branch information
talevy authored and jasontedor committed Aug 17, 2018
1 parent 4dc5da9 commit 7ff6b71
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* This class wraps a client and calls the client using the headers provided in
* constructor. The intent is to abstract away the fact that there are headers
* so {@link Step}s etc. can call this client as if it was a normal client.
*
*
* Note: This client will not close the wrapped {@link Client} instance since
* the intent is that the wrapped client is shared between multiple instances of
* this class.
Expand All @@ -47,9 +47,9 @@ public void close() {
}

@Override
protected <Request extends ActionRequest, Response extends ActionResponse,
protected <Request extends ActionRequest, Response extends ActionResponse,
RequestBuilder extends ActionRequestBuilder<Request, Response>> void doExecute(
Action<Request, Response> action, Request request, ActionListener<Response> listener) {
Action<Response> action, Request request, ActionListener<Response> listener) {
ClientHelper.executeWithHeadersAsync(headers, origin, client, action, request, listener);
}
}

0 comments on commit 7ff6b71

Please sign in to comment.