Remove useless code
authorJeff MAURY <jeffmaury@apache.org>
Sun, 14 Dec 2014 20:30:22 +0000 (21:30 +0100)
committerJeff MAURY <jeffmaury@apache.org>
Sun, 14 Dec 2014 20:30:22 +0000 (21:30 +0100)
core/src/test/java/org/apache/mina/transport/nio/SslTest.java

index ad4cb1c..a376ad5 100644 (file)
@@ -401,8 +401,6 @@ public class SslTest {
                 } else {
                     NioTcpClient client = new NioTcpClient();
                     client.setIoHandler(new AbstractIoHandler() {
-                        int sendSize = 0;
-                        
                         @Override
                         public void sessionOpened(IoSession session) {
                             if (clientType == Client.MINA_BEFORE_HANDSHAKE) {
@@ -416,11 +414,6 @@ public class SslTest {
                                 session.write(ByteBuffer.wrap(message));
                             }
                         }
-
-                        @Override
-                        public void messageSent(IoSession session, Object message) {
-                            sendSize += ((ByteBuffer)message).capacity();
-                        }
                     });
                     client.getSessionConfig().setSslContext(createSSLContext());
                     client.connect(new InetSocketAddress(port));