tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans GlobalResourcesLifecycleListener.java
Date Wed, 12 Feb 2003 01:44:10 GMT
amyroh      2003/02/11 17:44:09

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        GlobalResourcesLifecycleListener.java
  Log:
  Fix skipping an element in the enumeration.  It was skipping userdatabase element
  causing the admin failure.
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java
  
  Index: GlobalResourcesLifecycleListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/GlobalResourcesLifecycleListener.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GlobalResourcesLifecycleListener.java	30 Jan 2003 20:46:50 -0000	1.4
  +++ GlobalResourcesLifecycleListener.java	12 Feb 2003 01:44:09 -0000	1.5
  @@ -210,7 +210,7 @@
           while (bindings.hasMore()) {
               Object next=bindings.next();
               if( next instanceof Binding ) {
  -                Binding binding = (Binding) bindings.next();
  +                Binding binding = (Binding) next;
                   String name = prefix + binding.getName();
                   Object value = context.lookup(binding.getName());
                   if (debug >= 1 && name!=null) {
  
  
  

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


Mime
View raw message