From 9c594e5068f4ec869ab49e7b94777f58835ee92c Mon Sep 17 00:00:00 2001 From: Paul Verest Date: Tue, 11 Dec 2018 03:50:38 +0800 Subject: [PATCH] ReadTimeoutHandler - missing ) within JavaDoc example (#8645) Motivation: improve docs Modification: ReadTimeoutHandler - missing ) within JavaDoc example No logic/unit tests affected --- .../main/java/io/netty/handler/timeout/ReadTimeoutHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/src/main/java/io/netty/handler/timeout/ReadTimeoutHandler.java b/handler/src/main/java/io/netty/handler/timeout/ReadTimeoutHandler.java index 1fe47889d8..cba6e60d72 100644 --- a/handler/src/main/java/io/netty/handler/timeout/ReadTimeoutHandler.java +++ b/handler/src/main/java/io/netty/handler/timeout/ReadTimeoutHandler.java @@ -33,7 +33,7 @@ import java.util.concurrent.TimeUnit; * * public class MyChannelInitializer extends {@link ChannelInitializer}<{@link Channel}> { * public void initChannel({@link Channel} channel) { - * channel.pipeline().addLast("readTimeoutHandler", new {@link ReadTimeoutHandler}(30); + * channel.pipeline().addLast("readTimeoutHandler", new {@link ReadTimeoutHandler}(30)); * channel.pipeline().addLast("myHandler", new MyHandler()); * } * }