From 39d71440e1581e9a318dd7ee81edb43d8e6a2ff1 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 20 Jun 2013 15:23:51 +0900 Subject: [PATCH] Fix checkstyle --- .../main/java/io/netty/handler/logging/LoggingHandler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/handler/src/main/java/io/netty/handler/logging/LoggingHandler.java b/handler/src/main/java/io/netty/handler/logging/LoggingHandler.java index d7131a7c42..37cf8c203c 100644 --- a/handler/src/main/java/io/netty/handler/logging/LoggingHandler.java +++ b/handler/src/main/java/io/netty/handler/logging/LoggingHandler.java @@ -310,9 +310,7 @@ public class LoggingHandler extends ChannelDuplexHandler { logger.log(internalLevel, format(ctx, formatEmptyMessageList(eventName))); } else { for (int i = 0; i < size; i ++) { - Object msg = msgs.get(i); - logger.log(internalLevel, format(ctx, formatMessage(eventName, i + 1, size, msg))); - + logger.log(internalLevel, format(ctx, formatMessage(eventName, i + 1, size, msgs.get(i)))); } } }