diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java index 0235e01e7f..64ff3215d0 100644 --- a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java +++ b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java @@ -911,7 +911,7 @@ public class DefaultChannelPipeline implements ChannelPipeline { } else { throw new IllegalArgumentException( "cannot write a message whose type is not " + - ChannelBuffer.class.getSimpleName() + ": " + message.getClass().getName())); + ChannelBuffer.class.getSimpleName() + ": " + message.getClass().getName()); } return flush(future);