Skip to content

Commit 7ab0201

Browse files
committed
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.
1 parent ba055f7 commit 7ab0201

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/org/elasticsearch/transport/TcpTransport.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ public void setTransportService(TransportService service) {
278278
this.transportService = service;
279279
}
280280

281-
private static class HandshakeResponseHandler<Channel> implements TransportResponseHandler<VersionHandshakeResponse> {
281+
private static class HandshakeResponseHandler implements TransportResponseHandler<VersionHandshakeResponse> {
282282
final AtomicReference<Version> versionRef = new AtomicReference<>();
283283
final CountDownLatch latch = new CountDownLatch(1);
284284
final AtomicReference<Exception> exceptionRef = new AtomicReference<>();
285-
final Channel channel;
285+
final TcpChannel channel;
286286

287-
HandshakeResponseHandler(Channel channel) {
287+
HandshakeResponseHandler(TcpChannel channel) {
288288
this.channel = channel;
289289
}
290290

0 commit comments

Comments
 (0)