commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io BeanCreateRule.java
Date Tue, 02 Jul 2002 16:09:33 GMT
mvdb        2002/07/02 09:09:33

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io
                        BeanCreateRule.java
  Log:
  Added extra usefull tracing.
  
  Revision  Changes    Path
  1.5       +5 -1      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java
  
  Index: BeanCreateRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BeanCreateRule.java	1 Jul 2002 19:00:08 -0000	1.4
  +++ BeanCreateRule.java	2 Jul 2002 16:09:33 -0000	1.5
  @@ -19,6 +19,7 @@
   import org.apache.commons.betwixt.XMLBeanInfo;
   import org.apache.commons.betwixt.XMLIntrospector;
   import org.apache.commons.betwixt.expression.Context;
  +import org.apache.commons.betwixt.expression.MethodUpdater;
   import org.apache.commons.betwixt.expression.Updater;
   import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
   
  @@ -252,7 +253,10 @@
                   String path = prefix + qualifiedName;
                   
                   if ( childDescriptor.getUpdater() != null ) {
  -                    log.trace("Element has updater");
  +                    if (log.isTraceEnabled()) {
  +                        log.trace("Element has updater "
  +                                +((MethodUpdater) childDescriptor.getUpdater()).getMethod().getName());
  +                    }
                       if ( childDescriptor.isPrimitiveType() ) {
                           addPrimitiveTypeRule(path, childDescriptor);
                       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message