diff --git a/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java b/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java index 480f8e1a1b..ccb4b9e35e 100644 --- a/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/string/StringEncoder.java @@ -90,6 +90,6 @@ public class StringEncoder extends OneToOneEncoder { if (!(msg instanceof String)) { return msg; } - return copiedBuffer(ctx.getChannel().getConfig().getBufferFactory().getDefaultOrder(),(String) msg, charset); + return copiedBuffer(ctx.getChannel().getConfig().getBufferFactory().getDefaultOrder(), (String) msg, charset); } }