You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/06/12 20:42:03 UTC

svn commit: r1492348 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java

Author: markt
Date: Wed Jun 12 18:42:03 2013
New Revision: 1492348

URL: http://svn.apache.org/r1492348
Log:
Implemented

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1492348&r1=1492347&r2=1492348&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java Wed Jun 12 18:42:03 2013
@@ -956,13 +956,6 @@ public class ApplicationContext
                             getContextPath()));
         }
 
-        // TODO SERVLET3
-        // throw UnsupportedOperationException - if this context was passed to the
-        // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)}
-        // method of a {@link ServletContextListener} that was not declared
-        // in web.xml, a web-fragment or annotated with
-        // {@link javax.servlet.annotation.WebListener}.
-
         FilterDef filterDef = context.findFilterDef(filterName);
         
         // Assume a 'complete' FilterRegistration is one that has a class and
@@ -1101,13 +1094,6 @@ public class ApplicationContext
                             getContextPath()));
         }
         
-        // TODO SERVLET3
-        // throw UnsupportedOperationException - if this context was passed to the
-        // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)}
-        // method of a {@link ServletContextListener} that was not declared
-        // in web.xml, a web-fragment or annotated with
-        // {@link javax.servlet.annotation.WebListener}.
-
         Wrapper wrapper = (Wrapper) context.findChild(servletName);
         
         // Assume a 'complete' ServletRegistration is one that has a class and
@@ -1333,13 +1319,6 @@ public class ApplicationContext
                             getContextPath()));
         }
 
-        // TODO SERVLET3
-        // throw UnsupportedOperationException - if this context was passed to the
-        // {@link ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)}
-        // method of a {@link ServletContextListener} that was not declared
-        // in web.xml, a web-fragment or annotated with
-        // {@link javax.servlet.annotation.WebListener}.
-        
         boolean match = false;
         if (t instanceof ServletContextAttributeListener ||
                 t instanceof ServletRequestListener ||



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org