From: markt Date: Mon, 17 May 2010 13:56:16 +0000 (+0000) Subject: Fix some Eclipse warnings X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c9c5f14b9551e5f5c6c1b3379783583ef69dd00b;p=tomcat7.0 Fix some Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@945161 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/catalina/core/TestStandardContextResources.java b/test/org/apache/catalina/core/TestStandardContextResources.java index 2c314efdb..d9adf34ee 100644 --- a/test/org/apache/catalina/core/TestStandardContextResources.java +++ b/test/org/apache/catalina/core/TestStandardContextResources.java @@ -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 TestStandardContextResources extends TomcatBaseTest { 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 TestStandardContextResources extends TomcatBaseTest { LifecycleListener[] listener1 = ctx.findLifecycleListeners(); // change ordering and reload ContextConfig config1 = new ContextConfig() { + @Override protected WebXml createWebXml() { WebXml wxml = new WebXml(); wxml.addAbsoluteOrdering("resources2");