tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1667970 - /tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java
Date Fri, 20 Mar 2015 10:00:17 GMT
Author: markt
Date: Fri Mar 20 10:00:16 2015
New Revision: 1667970

URL: http://svn.apache.org/r1667970
Log:
Don't use deprecated method.

Modified:
    tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java

Modified: tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java?rev=1667970&r1=1667969&r2=1667970&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java (original)
+++ tomcat/tc8.0.x/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java Fri
Mar 20 10:00:16 2015
@@ -46,7 +46,7 @@ public class TestReplicatedContext exten
         }
 
         File root = new File("test/webapp");
-        Context context = tomcat.addWebapp(host, "", "", root.getAbsolutePath());
+        Context context = tomcat.addWebapp(host, "", root.getAbsolutePath());
 
         Tomcat.addServlet(context, "test", new AccessContextServlet());
         context.addServletMapping("/access", "test");



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


Mime
View raw message