From d5fc6afc52ed51c37dcf9039954b1410e25ea966 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 5 Jan 2011 09:40:09 +0000 Subject: [PATCH] Remove unused method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1055377 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/coyote/http11/OutputFilter.java | 6 ------ .../apache/coyote/http11/filters/ChunkedOutputFilter.java | 12 ------------ java/org/apache/coyote/http11/filters/GzipOutputFilter.java | 10 ---------- .../apache/coyote/http11/filters/IdentityOutputFilter.java | 12 ------------ java/org/apache/coyote/http11/filters/VoidOutputFilter.java | 10 ---------- 5 files changed, 50 deletions(-) diff --git a/java/org/apache/coyote/http11/OutputFilter.java b/java/org/apache/coyote/http11/OutputFilter.java index 83ab39067..7585859cd 100644 --- a/java/org/apache/coyote/http11/OutputFilter.java +++ b/java/org/apache/coyote/http11/OutputFilter.java @@ -56,12 +56,6 @@ public interface OutputFilter extends OutputBuffer { /** - * Get the name of the encoding handled by this filter. - */ - public ByteChunk getEncodingName(); - - - /** * Set the next buffer in the filter pipeline. */ public void setBuffer(OutputBuffer buffer); diff --git a/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java b/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java index cede62331..af71df8d8 100644 --- a/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java +++ b/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java @@ -179,16 +179,4 @@ public class ChunkedOutputFilter implements OutputFilter { public void recycle() { // NOOP: Nothing to recycle } - - - /** - * Return the name of the associated encoding; Here, the value is - * "identity". - */ - @Override - public ByteChunk getEncodingName() { - return ENCODING; - } - - } diff --git a/java/org/apache/coyote/http11/filters/GzipOutputFilter.java b/java/org/apache/coyote/http11/filters/GzipOutputFilter.java index 652cb2111..0e9588352 100644 --- a/java/org/apache/coyote/http11/filters/GzipOutputFilter.java +++ b/java/org/apache/coyote/http11/filters/GzipOutputFilter.java @@ -163,16 +163,6 @@ public class GzipOutputFilter implements OutputFilter { } - /** - * Return the name of the associated encoding; Here, the value is - * "identity". - */ - @Override - public ByteChunk getEncodingName() { - return ENCODING; - } - - // ------------------------------------------- FakeOutputStream Inner Class diff --git a/java/org/apache/coyote/http11/filters/IdentityOutputFilter.java b/java/org/apache/coyote/http11/filters/IdentityOutputFilter.java index fbddde74b..5b8fc05ae 100644 --- a/java/org/apache/coyote/http11/filters/IdentityOutputFilter.java +++ b/java/org/apache/coyote/http11/filters/IdentityOutputFilter.java @@ -180,16 +180,4 @@ public class IdentityOutputFilter implements OutputFilter { contentLength = -1; remaining = 0; } - - - /** - * Return the name of the associated encoding; Here, the value is - * "identity". - */ - @Override - public ByteChunk getEncodingName() { - return ENCODING; - } - - } diff --git a/java/org/apache/coyote/http11/filters/VoidOutputFilter.java b/java/org/apache/coyote/http11/filters/VoidOutputFilter.java index 44e14f667..e2c7e44ce 100644 --- a/java/org/apache/coyote/http11/filters/VoidOutputFilter.java +++ b/java/org/apache/coyote/http11/filters/VoidOutputFilter.java @@ -98,16 +98,6 @@ public class VoidOutputFilter implements OutputFilter { /** - * Return the name of the associated encoding; Here, the value is - * "identity". - */ - @Override - public ByteChunk getEncodingName() { - return ENCODING; - } - - - /** * End the current request. It is acceptable to write extra bytes using * buffer.doWrite during the execution of this method. * -- 2.11.0