tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1667766 - /tomcat/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java
Date Thu, 19 Mar 2015 14:19:32 GMT
Author: markt
Date: Thu Mar 19 14:19:31 2015
New Revision: 1667766

URL: http://svn.apache.org/r1667766
Log:
Don't use deprecated (and now removed) method

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

Modified: tomcat/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java?rev=1667766&r1=1667765&r2=1667766&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java (original)
+++ tomcat/trunk/test/org/apache/catalina/ha/context/TestReplicatedContext.java Thu Mar 19
14:19:31 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