From a3f25da228d61d6912cf643946ad7d7e125fdc52 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 29 Aug 2012 12:28:01 +0900 Subject: [PATCH] Remove unused parameter --- handler/src/main/java/io/netty/handler/ssl/SslHandler.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/handler/src/main/java/io/netty/handler/ssl/SslHandler.java b/handler/src/main/java/io/netty/handler/ssl/SslHandler.java index 967f445d1e..67aa3b1675 100644 --- a/handler/src/main/java/io/netty/handler/ssl/SslHandler.java +++ b/handler/src/main/java/io/netty/handler/ssl/SslHandler.java @@ -444,16 +444,15 @@ public class SslHandler @Override public void operationComplete(ChannelFuture future) throws Exception { if (ctx.executor() == ctx.channel().eventLoop()) { - notifyFlushFutures(ctx, bytesConsumed, cause, future); + notifyFlushFutures(bytesConsumed, cause, future); } else { synchronized (flushFutureNotifier) { - notifyFlushFutures(ctx, bytesConsumed, cause, future); + notifyFlushFutures(bytesConsumed, cause, future); } } } - private void notifyFlushFutures(final ChannelHandlerContext ctx, - final int bytesConsumed, final Throwable cause, ChannelFuture future) { + private void notifyFlushFutures(int bytesConsumed, Throwable cause, ChannelFuture future) { flushFutureNotifier.increaseWriteCounter(bytesConsumed); if (future.isSuccess()) { flushFutureNotifier.notifyFlushFutures(cause);