Author: markt
Date: Thu Sep 30 00:31:33 2010
New Revision: 1002912
URL: http://svn.apache.org/viewvc?rev=1002912&view=rev
Log:
Clean-up. No functional change.
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=1002912&r1=1002911&r2=1002912&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/Response.java (original)
+++ tomcat/trunk/java/org/apache/coyote/Response.java Thu Sep 30 00:31:33 2010
@@ -35,14 +35,6 @@ import org.apache.tomcat.util.http.MimeH
*/
public final class Response {
-
- // ----------------------------------------------------------- Constructors
-
-
- public Response() {
- }
-
-
// ----------------------------------------------------- Class Variables
/**
@@ -301,12 +293,12 @@ public final class Response {
}
- public void finish() throws IOException {
+ public void finish() {
action(ActionCode.CLOSE, this);
}
- public void acknowledge() throws IOException {
+ public void acknowledge() {
action(ActionCode.ACK, this);
}
@@ -375,7 +367,7 @@ public final class Response {
* Any implementation needs to notify ContextManager, to allow
* interceptors to fix headers.
*/
- public void sendHeaders() throws IOException {
+ public void sendHeaders() {
action(ActionCode.COMMIT, this);
commited = true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]