tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Sat, 09 Aug 2003 19:54:47 GMT
remm        2003/08/09 12:54:47

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  - Fix tests failures.
  - Fix array init.
  
  Revision  Changes    Path
  1.81      +5 -4      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- StandardContext.java	9 Aug 2003 19:04:29 -0000	1.80
  +++ StandardContext.java	9 Aug 2003 19:54:47 -0000	1.81
  @@ -646,7 +646,7 @@
        *  this application has started, or after it has been stopped
        */
       public Object[] getApplicationLifecycleListeners() {
  -        return (applicationEventListenersObjects);
  +        return (applicationLifecycleListenersObjects);
       }
   
   
  @@ -658,7 +658,7 @@
        * @param listeners The set of instantiated listener objects.
        */
       public void setApplicationLifecycleListeners(Object listeners[]) {
  -        applicationEventListenersObjects = listeners;
  +        applicationLifecycleListenersObjects = listeners;
       }
   
   
  @@ -3523,7 +3523,8 @@
           for (int i = 0; i < results.length; i++) {
               if ((results[i] instanceof ServletContextAttributeListener)
                   || (results[i] instanceof ServletRequestAttributeListener)
  -                || (results[i] instanceof ServletRequestListener)) {
  +                || (results[i] instanceof ServletRequestListener)
  +                || (results[i] instanceof HttpSessionAttributeListener)) {
                   eventListeners.add(results[i]);
               }
               if ((results[i] instanceof ServletContextListener)
  
  
  

Mime
View raw message