tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1489195 - /tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java
Date Mon, 03 Jun 2013 21:56:47 GMT
Author: markt
Date: Mon Jun  3 21:56:47 2013
New Revision: 1489195

URL: http://svn.apache.org/r1489195
Log:
Clean-up

Modified:
    tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java

Modified: tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java?rev=1489195&r1=1489194&r2=1489195&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java (original)
+++ tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java Mon Jun  3 21:56:47
2013
@@ -14,11 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina.filters;
 
-
 import java.io.IOException;
 import java.io.OutputStream;
 import java.io.PrintWriter;
@@ -34,22 +31,15 @@ import org.apache.catalina.Context;
 import org.apache.catalina.connector.Connector;
 import org.apache.catalina.connector.Request;
 
-
 /**
- * Dummy response object, used for JSP precompilation.
- *
- * @author Remy Maucherat
- * @version $Id$
+ * Mock HttpServletResponse
  */
-
-public class TesterResponse
-    implements HttpServletResponse {
+public class TesterResponse implements HttpServletResponse {
 
     public TesterResponse() {
         // NOOP
     }
 
-
     public void setAppCommitted(
             @SuppressWarnings("unused") boolean appCommitted) {/* NOOP */}
     public boolean isAppCommitted() { return false; }
@@ -207,10 +197,6 @@ public class TesterResponse
     @Override
     @Deprecated
     public void setStatus(int status, String message) {/* NOOP */}
-
-
     @Override
     public void setContentLengthLong(long length) {/* NOOP */}
-
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message