Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmaury committed Dec 14, 2014
1 parent 904f444 commit 5227b92
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/test/java/org/apache/mina/transport/nio/SslTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,6 @@ protected void testMessage(final int size, final Client clientType) throws IOExc
} else {
NioTcpClient client = new NioTcpClient();
client.setIoHandler(new AbstractIoHandler() {
int sendSize = 0;

@Override
public void sessionOpened(IoSession session) {
if (clientType == Client.MINA_BEFORE_HANDSHAKE) {
Expand All @@ -416,11 +414,6 @@ public void handshakeCompleted(IoSession session) {
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));
Expand Down

0 comments on commit 5227b92

Please sign in to comment.