diff --git a/transport/src/main/java/io/netty/channel/ChannelConfig.java b/transport/src/main/java/io/netty/channel/ChannelConfig.java index b7ec03c45e..7871285cd0 100644 --- a/transport/src/main/java/io/netty/channel/ChannelConfig.java +++ b/transport/src/main/java/io/netty/channel/ChannelConfig.java @@ -245,7 +245,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);