Author: markt
Date: Wed Jan 5 09:57:44 2011
New Revision: 1055389
URL: http://svn.apache.org/viewvc?rev=1055389&view=rev
Log:
Remove unused code
Modified:
tomcat/trunk/java/org/apache/coyote/Response.java
Modified: tomcat/trunk/java/org/apache/coyote/Response.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/Response.java?rev=1055389&r1=1055388&r2=1055389&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/Response.java (original)
+++ tomcat/trunk/java/org/apache/coyote/Response.java Wed Jan 5 09:57:44 2011
@@ -109,11 +109,6 @@ public final class Response {
*/
protected boolean charsetSet = false;
- /**
- * Request error URI.
- */
- protected String errorURI = null;
-
protected Request req;
// ------------------------------------------------------------- Properties
@@ -245,22 +240,6 @@ public final class Response {
}
- /**
- * Set request URI that caused an error during
- * request processing.
- */
- public void setErrorURI(String uri) {
- errorURI = uri;
- }
-
-
- /** Get the request URI that caused the original error.
- */
- public String getErrorURI() {
- return errorURI;
- }
-
-
// -------------------- Methods --------------------
@@ -569,7 +548,6 @@ public final class Response {
message = null;
commited = false;
errorException = null;
- errorURI = null;
headers.clear();
// update counters
@@ -579,8 +557,4 @@ public final class Response {
public long getBytesWritten() {
return bytesWritten;
}
-
- public void setBytesWritten(long bytesWritten) {
- this.bytesWritten = bytesWritten;
- }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]