Add a comment as a reminder
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 2 Sep 2010 08:01:20 +0000 (08:01 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 2 Sep 2010 08:01:20 +0000 (08:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@991842 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardContext.java

index 2010027..4475aa6 100644 (file)
@@ -5048,6 +5048,10 @@ public class StandardContext extends ContainerBase
     private void resetContext() throws Exception {
         // Restore the original state ( pre reading web.xml in start )
         // If you extend this - override this method and make sure to clean up
+        
+        // Don't reset anything that is read from a <Context.../> element since
+        // <Context .../> elements are read at initialisation will not be read
+        // again for this object
         children = new HashMap<String, Container>();
         startupTime = 0;
         startTime = 0;