This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 7bbc448 Remove unused code 7bbc448 is described below commit 7bbc448bb71906038ae61cd2fc8e89631a15823b Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Oct 3 17:15:09 2019 +0100 Remove unused code --- java/org/apache/tomcat/util/net/NioEndpoint.java | 2 +- java/org/apache/tomcat/util/net/SecureNioChannel.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index c23bfc9..150bcf5 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -410,7 +410,7 @@ public class NioEndpoint extends AbstractJsseEndpoint<NioChannel,SocketChannel> socketProperties.getAppWriteBufSize(), socketProperties.getDirectBuffer()); if (isSSLEnabled()) { - channel = new SecureNioChannel(socket, bufhandler, selectorPool, this); + channel = new SecureNioChannel(bufhandler, selectorPool, this); } else { channel = new NioChannel(bufhandler); } diff --git a/java/org/apache/tomcat/util/net/SecureNioChannel.java b/java/org/apache/tomcat/util/net/SecureNioChannel.java index 4c4c85a..7d128fb 100644 --- a/java/org/apache/tomcat/util/net/SecureNioChannel.java +++ b/java/org/apache/tomcat/util/net/SecureNioChannel.java @@ -70,8 +70,7 @@ public class SecureNioChannel extends NioChannel { protected NioSelectorPool pool; - public SecureNioChannel(SocketChannel channel, SocketBufferHandler bufHandler, - NioSelectorPool pool, NioEndpoint endpoint) { + public SecureNioChannel(SocketBufferHandler bufHandler, NioSelectorPool pool, NioEndpoint endpoint) { super(bufHandler); // Create the network buffers (these hold the encrypted data). --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org