diff --git a/codec/src/main/java/io/netty/handler/codec/ReplayingDecoderBuffer.java b/codec/src/main/java/io/netty/handler/codec/ReplayingDecoderBuffer.java index 8824c67d9a..54be1e4d48 100644 --- a/codec/src/main/java/io/netty/handler/codec/ReplayingDecoderBuffer.java +++ b/codec/src/main/java/io/netty/handler/codec/ReplayingDecoderBuffer.java @@ -152,12 +152,6 @@ final class ReplayingDecoderBuffer implements ByteBuf { throw new UnreplayableOperationException(); } - @Override - @Deprecated - public ByteBuf ensureWritableBytes(int writableBytes) { - throw new UnreplayableOperationException(); - } - @Override public int ensureWritable(int minWritableBytes, boolean force) { throw new UnreplayableOperationException(); @@ -459,12 +453,6 @@ final class ReplayingDecoderBuffer implements ByteBuf { return terminated? buffer.isReadable() : true; } - @Override - @Deprecated - public boolean readable() { - return isReadable(); - } - @Override public boolean isReadable(int size) { return terminated? buffer.isReadable(size) : true; @@ -812,12 +800,6 @@ final class ReplayingDecoderBuffer implements ByteBuf { return false; } - @Override - @Deprecated - public boolean writable() { - return false; - } - @Override public boolean isWritable(int size) { return false;