Put back generic param.
@@ -99,7 +99,7 @@ class ApacheCluster implements Cluster {
}
Future<?> future = endpoint.client.execute(request,
- new FutureCallback<>() {
+ new FutureCallback<SimpleHttpResponse>() {
@Override public void completed(SimpleHttpResponse response) { vessel.complete(new ApacheHttpResponse(response)); }
@Override public void failed(Exception ex) { vessel.completeExceptionally(ex); }
@Override public void cancelled() { vessel.cancel(false); }
