Revert "Returns after encoding each message not do check following instance types"
Motivation:
This reverts commit 3405aee2ab
. This commit introduces a bug and the encoder no longer encodes FullMemcacheMessage objects correctly.
Modifications:
- Revert commit
Result:
Fixes https://github.com/netty/netty/issues/5197
This commit is contained in:
parent
cf07f984b1
commit
9ed2f01853
@ -45,7 +45,6 @@ public abstract class AbstractMemcacheObjectEncoder<M extends MemcacheMessage> e
|
||||
@SuppressWarnings({ "unchecked", "CastConflictsWithInstanceof" })
|
||||
final M m = (M) msg;
|
||||
out.add(encodeMessage(ctx, m));
|
||||
return;
|
||||
}
|
||||
|
||||
if (msg instanceof MemcacheContent || msg instanceof ByteBuf || msg instanceof FileRegion) {
|
||||
|
Loading…
Reference in New Issue
Block a user