Skip to content

Commit

Permalink
[netty#1936] Fix example in javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Maurer committed Oct 20, 2013
1 parent afa5df6 commit 9e82bfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
* 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());
* }
* }
Expand Down

0 comments on commit 9e82bfb

Please sign in to comment.