Fix some Eclipse warnings
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 May 2010 13:56:16 +0000 (13:56 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 May 2010 13:56:16 +0000 (13:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@945161 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/core/TestStandardContextResources.java

index 2c314ef..d9adf34 100644 (file)
@@ -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");