tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core ContextManager.java
Date Mon, 20 Nov 2000 02:12:25 GMT
nacho       00/11/19 18:12:24

  Modified:    src/share/org/apache/tomcat/core ContextManager.java
  Log:
  Porting patches from tomcat_32
  
  Revision  Changes    Path
  1.148     +2 -3      jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java
  
  Index: ContextManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/ContextManager.java,v
  retrieving revision 1.147
  retrieving revision 1.148
  diff -u -r1.147 -r1.148
  --- ContextManager.java	2000/11/06 15:16:30	1.147
  +++ ContextManager.java	2000/11/20 02:12:23	1.148
  @@ -414,9 +414,8 @@
        *  - call Interceptor.engineShutdown() hooks.
        */
       public final void shutdown() throws TomcatException {
  -	Enumeration enum = getContexts();
  -	while (enum.hasMoreElements()) {
  -	    removeContext((Context)enum.nextElement());
  +	while (!contextsV.isEmpty()) {
  +	    removeContext((Context)contextsV.firstElement());
   	}
   
   	BaseInterceptor cI[]=defaultContainer.getInterceptors();
  
  
  

Mime
View raw message