From f7616d22ebb6e1edb0b8e4e8d080053f05c84ec3 Mon Sep 17 00:00:00 2001 From: Brad Fritz Date: Wed, 10 Sep 2014 14:51:32 -0400 Subject: [PATCH] Correct javadoc typo in IdleStateHandler example code --- .../main/java/io/netty/handler/timeout/IdleStateHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java b/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java index 80a511585b..8b811385d6 100644 --- a/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java +++ b/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java @@ -74,7 +74,7 @@ import java.util.concurrent.TimeUnit; * public class MyHandler extends {@link ChannelDuplexHandler} { * {@code @Override} * public void userEventTriggered({@link ChannelHandlerContext} ctx, {@link Object} evt) throws {@link Exception} { - * if (evt instanceof {@link IdleStateEvent}} { + * if (evt instanceof {@link IdleStateEvent}) { * {@link IdleStateEvent} e = ({@link IdleStateEvent}) evt; * if (e.state() == {@link IdleState}.READER_IDLE) { * ctx.close();