Grammar
This commit is contained in:
parent
0f80aad929
commit
87b17e195a
@ -230,8 +230,8 @@ public abstract class ByteToMessageDecoder extends ChannelInboundHandlerAdapter
|
|||||||
int oldInputLength = in.readableBytes();
|
int oldInputLength = in.readableBytes();
|
||||||
decode(ctx, in, out);
|
decode(ctx, in, out);
|
||||||
|
|
||||||
// Check if this handler was removed before try to continue the loop.
|
// Check if this handler was removed before continuing the loop.
|
||||||
// If it was removed it is not safe to continue to operate on the buffer
|
// If it was removed, it is not safe to continue to operate on the buffer.
|
||||||
//
|
//
|
||||||
// See https://github.com/netty/netty/issues/1664
|
// See https://github.com/netty/netty/issues/1664
|
||||||
if (ctx.isRemoved()) {
|
if (ctx.isRemoved()) {
|
||||||
|
@ -359,8 +359,8 @@ public abstract class ReplayingDecoder<S> extends ByteToMessageDecoder {
|
|||||||
try {
|
try {
|
||||||
decode(ctx, replayable, out);
|
decode(ctx, replayable, out);
|
||||||
|
|
||||||
// Check if this handler was removed before try to continue the loop.
|
// Check if this handler was removed before continuing the loop.
|
||||||
// If it was removed it is not safe to continue to operate on the buffer
|
// If it was removed, it is not safe to continue to operate on the buffer.
|
||||||
//
|
//
|
||||||
// See https://github.com/netty/netty/issues/1664
|
// See https://github.com/netty/netty/issues/1664
|
||||||
if (ctx.isRemoved()) {
|
if (ctx.isRemoved()) {
|
||||||
@ -381,8 +381,8 @@ public abstract class ReplayingDecoder<S> extends ByteToMessageDecoder {
|
|||||||
} catch (Signal replay) {
|
} catch (Signal replay) {
|
||||||
replay.expect(REPLAY);
|
replay.expect(REPLAY);
|
||||||
|
|
||||||
// Check if this handler was removed before try to continue the loop.
|
// Check if this handler was removed before continuing the loop.
|
||||||
// If it was removed it is not safe to continue to operate on the buffer
|
// If it was removed, it is not safe to continue to operate on the buffer.
|
||||||
//
|
//
|
||||||
// See https://github.com/netty/netty/issues/1664
|
// See https://github.com/netty/netty/issues/1664
|
||||||
if (ctx.isRemoved()) {
|
if (ctx.isRemoved()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user