tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1830410 - in /tomcat/tc7.0.x/trunk/test/org/apache: catalina/startup/SimpleHttpClient.java coyote/http11/TestAbstractHttp11Processor.java
Date Sat, 28 Apr 2018 07:48:26 GMT
Author: markt
Date: Sat Apr 28 07:48:26 2018
New Revision: 1830410

URL: http://svn.apache.org/viewvc?rev=1830410&view=rev
Log:
Alternative fix for the failing test that doesn't break other tests. The new fix is consistent
with other calls to getPort() in the tests.

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
    tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java?rev=1830410&r1=1830409&r2=1830410&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java Sat Apr 28
07:48:26 2018
@@ -104,10 +104,6 @@ public abstract class SimpleHttpClient {
         port = thePort;
     }
 
-    public int getPort() {
-        return port;
-    }
-
     public void setRequest(String[] theRequest) {
         request = theRequest;
     }

Modified: tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java?rev=1830410&r1=1830409&r2=1830410&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/coyote/http11/TestAbstractHttp11Processor.java Sat
Apr 28 07:48:26 2018
@@ -845,7 +845,7 @@ public class TestAbstractHttp11Processor
     }
 
 
-    private static class Non2xxResponseClient extends SimpleHttpClient {
+    private class Non2xxResponseClient extends SimpleHttpClient {
         private static final String HEADER_EXPECT = "Expect: 100-continue";
         private static final String HEADER_CONNECTION = "Connection: close";
         private boolean useExpectation;



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


Mime
View raw message