cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/sitemap AbstractSitemap.java
Date Fri, 19 Apr 2002 19:38:11 GMT
vgritsenko    02/04/19 12:38:11

  Modified:    src/java/org/apache/cocoon/sitemap AbstractSitemap.java
  Log:
  Optimize It
  
  Revision  Changes    Path
  1.11      +4 -2      xml-cocoon2/src/java/org/apache/cocoon/sitemap/AbstractSitemap.java
  
  Index: AbstractSitemap.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/sitemap/AbstractSitemap.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AbstractSitemap.java	22 Feb 2002 07:03:55 -0000	1.10
  +++ AbstractSitemap.java	19 Apr 2002 19:38:11 -0000	1.11
  @@ -91,7 +91,7 @@
    * Base class for generated <code>Sitemap</code> classes
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Id: AbstractSitemap.java,v 1.10 2002/02/22 07:03:55 cziegeler Exp $
  + * @version CVS $Id: AbstractSitemap.java,v 1.11 2002/04/19 19:38:11 vgritsenko Exp $
    */
   public abstract class AbstractSitemap extends AbstractLoggable implements Sitemap, Disposable,
ThreadSafe {
       private Context context;
  @@ -350,7 +350,9 @@
                   Object value = ((Map)list.get(k)).get(s);
                   if (value != null){
                       result.append(value.toString());
  -                    getLogger().debug("Substitute evaluated value for " + s + " as " +
value);
  +                    if (getLogger().isDebugEnabled()) {
  +                        getLogger().debug("Substitute evaluated value for " + s + " as
" + value);
  +                    }
                   }else{
                       getLogger().warn("Substitute: value not found for " + s + " while evaluating
" + expr);
                   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message