Author: markt Date: Mon May 17 13:56:16 2010 New Revision: 945161 URL: http://svn.apache.org/viewvc?rev=945161&view=rev Log: Fix some Eclipse warnings
Modified: tomcat/trunk/test/org/apache/catalina/core/TestStandardContextResources.java Modified: tomcat/trunk/test/org/apache/catalina/core/TestStandardContextResources.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestStandardContextResources.java?rev=945161&r1=945160&r2=945161&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/catalina/core/TestStandardContextResources.java (original) +++ tomcat/trunk/test/org/apache/catalina/core/TestStandardContextResources.java Mon May 17 13:56:16 2010 @@ -34,7 +34,6 @@ import org.apache.catalina.deploy.WebXml import org.apache.catalina.startup.ContextConfig; import org.apache.catalina.startup.Tomcat; import org.apache.catalina.startup.TomcatBaseTest; -import org.apache.catalina.startup.Tomcat.DefaultWebXmlListener; import org.apache.tomcat.util.buf.ByteChunk; public class TestStandardContextResources extends TomcatBaseTest { @@ -85,6 +84,7 @@ public class TestStandardContextResource assertEquals(3,listener.length); assertTrue(listener[1] instanceof ContextConfig); ContextConfig config = new ContextConfig() { + @Override protected WebXml createWebXml() { WebXml wxml = new WebXml(); wxml.addAbsoluteOrdering("resources"); @@ -109,6 +109,7 @@ public class TestStandardContextResource LifecycleListener[] listener1 = ctx.findLifecycleListeners(); // change ordering and reload ContextConfig config1 = new ContextConfig() { + @Override protected WebXml createWebXml() { WebXml wxml = new WebXml(); wxml.addAbsoluteOrdering("resources2"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org