Author: markt
Date: Mon Dec 1 15:17:36 2014
New Revision: 1642699
URL: http://svn.apache.org/r1642699
Log:
Be explicit about webapp version
Modified:
tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
Modified: tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java?rev=1642699&r1=1642698&r2=1642699&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/core/TestApplicationContext.java Mon
Dec 1 15:17:36 2014
@@ -168,6 +168,7 @@ public class TestApplicationContext exte
Context foo1 = new StandardContext();
foo1.setName("/foo##1");
foo1.setPath("/foo");
+ foo1.setWebappVersion("1");
foo1.addLifecycleListener(new FixContextListener());
foo1.addLifecycleListener(new SetIdListener("foo1"));
tomcat.getHost().addChild(foo1);
@@ -175,6 +176,7 @@ public class TestApplicationContext exte
Context foo2 = new StandardContext();
foo2.setName("/foo##2");
foo2.setPath("/foo");
+ foo2.setWebappVersion("2");
foo2.addLifecycleListener(new FixContextListener());
foo2.addLifecycleListener(new SetIdListener("foo2"));
tomcat.getHost().addChild(foo2);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]