Correct javadoc typo in IdleStateHandler example code
This commit is contained in:
parent
003f97168c
commit
f7616d22eb
@ -74,7 +74,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
* public class MyHandler extends {@link ChannelDuplexHandler} {
|
* public class MyHandler extends {@link ChannelDuplexHandler} {
|
||||||
* {@code @Override}
|
* {@code @Override}
|
||||||
* public void userEventTriggered({@link ChannelHandlerContext} ctx, {@link Object} evt) throws {@link Exception} {
|
* 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;
|
* {@link IdleStateEvent} e = ({@link IdleStateEvent}) evt;
|
||||||
* if (e.state() == {@link IdleState}.READER_IDLE) {
|
* if (e.state() == {@link IdleState}.READER_IDLE) {
|
||||||
* ctx.close();
|
* ctx.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user