Skip to content

Commit

Permalink
Fix compilation in simple transport test case base
Browse files Browse the repository at this point in the history
This commit fixes compilation after a backport gone bad due to a
difference in the minimum Java version between 7.x and master.
  • Loading branch information
jasontedor committed Mar 17, 2020
1 parent 7ec7786 commit 3fc3509
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.Version;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.ActionListenerResponseHandler;
import org.elasticsearch.action.support.PlainActionFuture;
import org.elasticsearch.cluster.node.DiscoveryNode;
Expand Down Expand Up @@ -2786,7 +2787,7 @@ public <T extends TransportResponse> void sendRequest(
serviceC.connectToNode(
serviceA.getLocalDiscoNode(),
ConnectionProfile.buildDefaultConnectionProfile(Settings.EMPTY),
new ActionListener<>() {
new ActionListener<Void>() {
@Override
public void onResponse(final Void v) {
latch.countDown();
Expand Down

0 comments on commit 3fc3509

Please sign in to comment.