tomcat-dev mailing list archives

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

URL: http://svn.apache.org/r1489196
Log:
Clean-up (prior to merging in changes for CORS patch)

Added:
    tomcat/trunk/test/org/apache/catalina/filters/TesterHttpServletResponse.java
      - copied, changed from r1489195, tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java
Removed:
    tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java
Modified:
    tomcat/trunk/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java

Modified: tomcat/trunk/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java?rev=1489196&r1=1489195&r2=1489196&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java (original)
+++ tomcat/trunk/test/org/apache/catalina/filters/TestCsrfPreventionFilter.java Mon Jun  3
21:58:56 2013
@@ -102,7 +102,7 @@ public class TestCsrfPreventionFilter ex
         }
     }
 
-    private static class NonEncodingResponse extends TesterResponse {
+    private static class NonEncodingResponse extends TesterHttpServletResponse {
 
         @Override
         public String encodeRedirectURL(String url) {

Copied: tomcat/trunk/test/org/apache/catalina/filters/TesterHttpServletResponse.java (from
r1489195, tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java)
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/filters/TesterHttpServletResponse.java?p2=tomcat/trunk/test/org/apache/catalina/filters/TesterHttpServletResponse.java&p1=tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java&r1=1489195&r2=1489196&rev=1489196&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/filters/TesterResponse.java (original)
+++ tomcat/trunk/test/org/apache/catalina/filters/TesterHttpServletResponse.java Mon Jun 
3 21:58:56 2013
@@ -34,9 +34,9 @@ import org.apache.catalina.connector.Req
 /**
  * Mock HttpServletResponse
  */
-public class TesterResponse implements HttpServletResponse {
+public class TesterHttpServletResponse implements HttpServletResponse {
 
-    public TesterResponse() {
+    public TesterHttpServletResponse() {
         // NOOP
     }
 



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


Mime
View raw message