Fix compilation

This commit is contained in:
Yannick Welsch 2018-11-12 11:05:11 +01:00
parent 4e6c58c942
commit fe29b18c26
2 changed files with 0 additions and 13 deletions

View File

@ -46,7 +46,6 @@ import org.elasticsearch.transport.RequestHandlerRegistry;
import org.elasticsearch.transport.TransportChannel;
import org.elasticsearch.transport.TransportRequest;
import org.elasticsearch.transport.TransportResponse;
import org.elasticsearch.transport.TransportResponseOptions;
import org.elasticsearch.transport.TransportService;
import org.junit.After;
import org.junit.AfterClass;
@ -233,11 +232,6 @@ public class NodeJoinTests extends ESTestCase {
future.markAsDone();
}
@Override
public void sendResponse(TransportResponse response, TransportResponseOptions options) {
sendResponse(response);
}
@Override
public void sendResponse(Exception e) {
logger.error(() -> new ParameterizedMessage("unexpected error for {}", future), e);

View File

@ -29,7 +29,6 @@ import org.elasticsearch.transport.RequestHandlerRegistry;
import org.elasticsearch.transport.TransportChannel;
import org.elasticsearch.transport.TransportRequest;
import org.elasticsearch.transport.TransportResponse;
import org.elasticsearch.transport.TransportResponseOptions;
import java.io.IOException;
import java.util.Optional;
@ -166,12 +165,6 @@ public abstract class DisruptableMockTransport extends MockTransport {
});
}
@Override
public void sendResponse(TransportResponse response,
TransportResponseOptions options) {
sendResponse(response);
}
@Override
public void sendResponse(Exception exception) {
sendFromTo(destination, getLocalNode(), action, new Runnable() {