diff --git a/transport/src/main/java/io/netty/channel/ChannelConfig.java b/transport/src/main/java/io/netty/channel/ChannelConfig.java index edaca712ef..8f6d02cbc1 100644 --- a/transport/src/main/java/io/netty/channel/ChannelConfig.java +++ b/transport/src/main/java/io/netty/channel/ChannelConfig.java @@ -227,7 +227,7 @@ public interface ChannelConfig { MessageSizeEstimator getMessageSizeEstimator(); /** - * Set the {@link ByteBufAllocator} which is used for the channel + * Set the {@link MessageSizeEstimator} which is used for the channel * to detect the size of a message. */ ChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);