Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/util
In directory james.mmbase.org:/tmp/cvs-serv31988

Modified Files:
        ContextContainer.java 
Log Message:
Added an isDebugEnabled


See also: 
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/util


Index: ContextContainer.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/util/ContextContainer.java,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- ContextContainer.java       29 Dec 2008 11:19:17 -0000      1.64
+++ ContextContainer.java       10 Mar 2009 14:04:55 -0000      1.65
@@ -25,7 +25,7 @@
  * there is searched for HashMaps in the HashMap.
  *
  * @author Michiel Meeuwissen
- * @version $Id: ContextContainer.java,v 1.64 2008/12/29 11:19:17 michiel Exp $
+ * @version $Id: ContextContainer.java,v 1.65 2009/03/10 14:04:55 michiel Exp $
  **/
 
 public abstract class ContextContainer extends AbstractMap<String, Object> 
implements Map<String, Object> {
@@ -242,7 +242,9 @@
         if (getBacking().containsKey(key)) {
             return true;
         } else if (checkParent && parent != null) {
+            if (log.isDebugEnabled()) {
             log.debug("Checking " + parent + " for " + key);
+            }
             return parent.simpleContainsKey(key, true);
         } else {
             return false;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to