From cc3be6ddda0e58ff36eef0e58e6573242c5d1d65 Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Fri, 17 Nov 2017 14:53:15 -0700 Subject: [PATCH] Remove parameters on HandshakeResponseHandler (#27444) This is a followup to #27407. That commit removed the channel type parameter from TcpTransport. This commit removes the parameter from the handshake response handler. --- .../main/java/org/elasticsearch/transport/TcpTransport.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/transport/TcpTransport.java b/core/src/main/java/org/elasticsearch/transport/TcpTransport.java index d5aed81ae80..0bf600cb029 100644 --- a/core/src/main/java/org/elasticsearch/transport/TcpTransport.java +++ b/core/src/main/java/org/elasticsearch/transport/TcpTransport.java @@ -278,13 +278,13 @@ public abstract class TcpTransport extends AbstractLifecycleComponent implements this.transportService = service; } - private static class HandshakeResponseHandler implements TransportResponseHandler { + private static class HandshakeResponseHandler implements TransportResponseHandler { final AtomicReference versionRef = new AtomicReference<>(); final CountDownLatch latch = new CountDownLatch(1); final AtomicReference exceptionRef = new AtomicReference<>(); - final Channel channel; + final TcpChannel channel; - HandshakeResponseHandler(Channel channel) { + HandshakeResponseHandler(TcpChannel channel) { this.channel = channel; }