Fix grammar

This commit is contained in:
Trustin Lee 2013-03-12 15:23:09 +09:00
parent 397830d238
commit 559b860ff6

View File

@ -69,7 +69,7 @@ public abstract class ByteToByteEncoder extends ChannelOutboundByteHandlerAdapte
cause = new EncoderException(t); cause = new EncoderException(t);
} }
if (encoded) { if (encoded) {
cause = new IncompleteFlushException("Unable to encoded all bytes", cause); cause = new IncompleteFlushException("unable to encode all bytes", cause);
} }
in.discardSomeReadBytes(); in.discardSomeReadBytes();
promise.setFailure(cause); promise.setFailure(cause);