Simplify. Path is stored in MapElement.name
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 5 Oct 2010 14:43:26 +0000 (14:43 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 5 Oct 2010 14:43:26 +0000 (14:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1004657 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/http/mapper/Mapper.java

index 271b09e..886907e 100644 (file)
@@ -464,7 +464,7 @@ public final class Mapper {
     protected void removeWrapper(Context context, String path) {
         
         if (log.isDebugEnabled()) {
-            log.debug(sm.getString("mapper.removeWrapper", context.path, path));
+            log.debug(sm.getString("mapper.removeWrapper", context.name, path));
         }
 
         synchronized (context) {
@@ -1460,7 +1460,6 @@ public final class Mapper {
     protected static final class Context
         extends MapElement {
 
-        public String path = null;
         public String[] welcomeResources = new String[0];
         public javax.naming.Context resources = null;
         public Wrapper defaultWrapper = null;