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.
This commit is contained in:
Tim Brooks 2017-11-17 14:53:15 -07:00 committed by GitHub
parent 075c77fc81
commit cc3be6ddda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -278,13 +278,13 @@ public abstract class TcpTransport extends AbstractLifecycleComponent implements
this.transportService = service;
}
private static class HandshakeResponseHandler<Channel> implements TransportResponseHandler<VersionHandshakeResponse> {
private static class HandshakeResponseHandler implements TransportResponseHandler<VersionHandshakeResponse> {
final AtomicReference<Version> versionRef = new AtomicReference<>();
final CountDownLatch latch = new CountDownLatch(1);
final AtomicReference<Exception> exceptionRef = new AtomicReference<>();
final Channel channel;
final TcpChannel channel;
HandshakeResponseHandler(Channel channel) {
HandshakeResponseHandler(TcpChannel channel) {
this.channel = channel;
}