Fix compilation error caused by recent changes in AbstractChannel
This commit is contained in:
parent
ef4ee49800
commit
e00f303e4f
@ -109,13 +109,11 @@ class EmbeddedChannel extends AbstractChannel {
|
|||||||
int byteBufLen = byteBuf.readableBytes();
|
int byteBufLen = byteBuf.readableBytes();
|
||||||
if (byteBufLen > 0) {
|
if (byteBufLen > 0) {
|
||||||
productQueue.add(byteBuf.readBytes(byteBufLen));
|
productQueue.add(byteBuf.readBytes(byteBufLen));
|
||||||
writeCounter += byteBufLen;
|
|
||||||
byteBuf.clear();
|
byteBuf.clear();
|
||||||
}
|
}
|
||||||
Queue<Object> msgBuf = buf.messageBuffer();
|
Queue<Object> msgBuf = buf.messageBuffer();
|
||||||
if (!msgBuf.isEmpty()) {
|
if (!msgBuf.isEmpty()) {
|
||||||
productQueue.addAll(msgBuf);
|
productQueue.addAll(msgBuf);
|
||||||
writeCounter += msgBuf.size();
|
|
||||||
msgBuf.clear();
|
msgBuf.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user