提交 e0748390 编写于 作者: Y youyong205

modify the codec

上级 7e5e8410
......@@ -358,7 +358,9 @@ public class PlainTextMessageCodec implements MessageCodec, LogEnabled {
for (int i = 0; i < len; i++) {
Message child = children.get(i);
count += encodeMessage(child, buf);
if (child != null) {
count += encodeMessage(child, buf);
}
}
count += encodeLine(transaction, buf, 'T', Policy.WITH_DURATION);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册