提交 786cda02 编写于 作者: N Nikita Koksharov

refactoring

上级 1768f4ff
......@@ -332,7 +332,7 @@ public class CommandDecoder extends ReplayingDecoder<State> {
handleResult(data, parts, result, false, channel);
} else if (code == '*') {
long size = readLong(in);
final List<Object> respParts = new ArrayList<Object>();
final List<Object> respParts = new ArrayList<Object>(Math.max((int)size, 0));
StateLevel lastLevel = null;
if (state().isMakeCheckpoint()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册