From a0d9bed8f9d2e8233cf29a5b30104fe9b3b6cfeb Mon Sep 17 00:00:00 2001 From: Jeff Pinner Date: Tue, 14 Aug 2012 17:57:59 -0700 Subject: [PATCH] SPDY: remove deprecated data compressed flag --- .../handler/codec/spdy/DefaultSpdyDataFrame.java | 15 --------------- .../netty/handler/codec/spdy/SpdyDataFrame.java | 12 ------------ 2 files changed, 27 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java b/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java index 6678b65031..a043ad3943 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java +++ b/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java @@ -26,7 +26,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame { private int streamId; private boolean last; - private boolean compressed; private ByteBuf data = Unpooled.EMPTY_BUFFER; /** @@ -62,18 +61,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame { this.last = last; } - @Override - @Deprecated - public boolean isCompressed() { - return compressed; - } - - @Override - @Deprecated - public void setCompressed(boolean compressed) { - this.compressed = compressed; - } - @Override public ByteBuf getData() { return data; @@ -97,8 +84,6 @@ public class DefaultSpdyDataFrame implements SpdyDataFrame { buf.append(getClass().getSimpleName()); buf.append("(last: "); buf.append(isLast()); - buf.append("; compressed: "); - buf.append(isCompressed()); buf.append(')'); buf.append(StringUtil.NEWLINE); buf.append("--> Stream-ID = "); diff --git a/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyDataFrame.java b/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyDataFrame.java index 0208cf0add..4458051e50 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyDataFrame.java +++ b/codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyDataFrame.java @@ -44,18 +44,6 @@ public interface SpdyDataFrame { */ void setLast(boolean last); - /** - * @deprecated Removed from SPDY specification. - */ - @Deprecated - boolean isCompressed(); - - /** - * @deprecated Removed from SPDY specification. - */ - @Deprecated - void setCompressed(boolean compressed); - /** * Returns the data payload of this frame. If there is no data payload * {@link Unpooled#EMPTY_BUFFER} is returned.