tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Fri, 25 Mar 2005 18:12:48 GMT
luehe       2005/03/25 10:12:48

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  Minor adjustment to fix for 32866:
  Issue log message about propagating value of "distributable" to
  manager only if there is a manager in place
  
  Revision  Changes    Path
  1.173     +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.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- StandardContext.java	25 Mar 2005 16:47:44 -0000	1.172
  +++ StandardContext.java	25 Mar 2005 18:12:48 -0000	1.173
  @@ -1200,10 +1200,11 @@
                                      new Boolean(this.distributable));
   
           // Bugzilla 32866
  -        if(log.isDebugEnabled()) {
  -            log.debug("Propagating distributable=" + distributable + " to manager");
  -        }
           if(getManager() != null) {
  +            if(log.isDebugEnabled()) {
  +                log.debug("Propagating distributable=" + distributable
  +                          + " to manager");
  +            }
               getManager().setDistributable(distributable);
           }
       }
  
  
  

---------------------------------------------------------------------
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