[#1936] Fix example in javadoc

This commit is contained in:
Norman Maurer 2013-10-20 09:32:21 +02:00
parent 35cd13d10e
commit 79562d5891

View File

@ -76,9 +76,9 @@ import java.util.concurrent.TimeUnit;
* public void userEventTriggered({@link ChannelHandlerContext} ctx, {@link Object} evt) throws {@link Exception} {
* if (evt instanceof {@link IdleState}} {
* {@link IdleState} e = ({@link IdleState}) evt;
* if (e.getState() == {@link IdleState}.READER_IDLE) {
* if (e.state() == {@link IdleState}.READER_IDLE) {
* ctx.close();
* } else if (e.getState() == {@link IdleState}.WRITER_IDLE) {
* } else if (e.state() == {@link IdleState}.WRITER_IDLE) {
* ctx.writeAndFlush(new PingMessage());
* }
* }