Fix javadoc to correctly explain how ChannelDuplexHandler.deregister(...) works. (#8577)

Motivation:

We had an error in the javadoc which was most likely caused by copy and paste.

Modifications:

Fix javadoc.

Result:

Correct javadoc.
This commit is contained in:
Norman Maurer 2018-11-20 16:45:15 +01:00 committed by GitHub
parent 38524ec3e2
commit cd689ee775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ public class ChannelDuplexHandler extends ChannelInboundHandlerAdapter implement
}
/**
* Calls {@link ChannelHandlerContext#close(ChannelPromise)} to forward
* Calls {@link ChannelHandlerContext#deregister(ChannelPromise)} to forward
* to the next {@link ChannelOutboundHandler} in the {@link ChannelPipeline}.
*
* Sub-classes may override this method to change behavior.