From 7bf3792e6f12be018ff2ddf4c67e8478dd3b8c9f Mon Sep 17 00:00:00 2001 From: Xiaoyan Lin Date: Mon, 25 Jan 2016 17:27:15 -0800 Subject: [PATCH] Fix ChannelOutboundHandlerAdapter javadoc Motivation: ChannelOutboundHandlerAdapter's javadoc has some minor issues. Modifications: Fix the minor javadoc issues and resolves #4752. Result: ChannelOutboundHandlerAdapter's javadoc issues are fixed. --- .../io/netty/channel/ChannelOutboundHandlerAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transport/src/main/java/io/netty/channel/ChannelOutboundHandlerAdapter.java b/transport/src/main/java/io/netty/channel/ChannelOutboundHandlerAdapter.java index c0a6897123..fa968925de 100644 --- a/transport/src/main/java/io/netty/channel/ChannelOutboundHandlerAdapter.java +++ b/transport/src/main/java/io/netty/channel/ChannelOutboundHandlerAdapter.java @@ -18,7 +18,7 @@ package io.netty.channel; import java.net.SocketAddress; /** - * Skelton implementation of a {@link ChannelOutboundHandler}. This implementation just forwards each method call via + * Skeleton implementation of a {@link ChannelOutboundHandler}. This implementation just forwards each method call via * the {@link ChannelHandlerContext}. */ public class ChannelOutboundHandlerAdapter extends ChannelHandlerAdapter implements ChannelOutboundHandler { @@ -72,7 +72,7 @@ public class ChannelOutboundHandlerAdapter extends ChannelHandlerAdapter impleme } /** - * 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. @@ -94,7 +94,7 @@ public class ChannelOutboundHandlerAdapter extends ChannelHandlerAdapter impleme } /** - * Calls {@link ChannelHandlerContext#write(Object)} to forward + * Calls {@link ChannelHandlerContext#write(Object, ChannelPromise)} to forward * to the next {@link ChannelOutboundHandler} in the {@link ChannelPipeline}. * * Sub-classes may override this method to change behavior.