commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester XMLIntrospectorHelper.java
Date Wed, 29 May 2002 11:54:56 GMT
jvanzyl     02/05/29 04:54:56

  Modified:    betwixt/src/java/org/apache/commons/betwixt/digester
                        XMLIntrospectorHelper.java
  Log:
  Just adding a little debugging.
  
  Revision  Changes    Path
  1.8       +12 -6     jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java
  
  Index: XMLIntrospectorHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XMLIntrospectorHelper.java	28 May 2002 23:01:07 -0000	1.7
  +++ XMLIntrospectorHelper.java	29 May 2002 11:54:56 -0000	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
1.7 2002/05/28 23:01:07 jstrachan Exp $
  - * $Revision: 1.7 $
  - * $Date: 2002/05/28 23:01:07 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
1.8 2002/05/29 11:54:56 jvanzyl Exp $
  + * $Revision: 1.8 $
  + * $Date: 2002/05/29 11:54:56 $
    *
    * ====================================================================
    *
  @@ -57,7 +57,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * 
  - * $Id: XMLIntrospectorHelper.java,v 1.7 2002/05/28 23:01:07 jstrachan Exp $
  + * $Id: XMLIntrospectorHelper.java,v 1.8 2002/05/29 11:54:56 jvanzyl Exp $
    */
   package org.apache.commons.betwixt.digester;
   
  @@ -99,7 +99,7 @@
     * common code shared between the digestor and introspector.</p>
     *
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  -  * @version $Revision: 1.7 $
  +  * @version $Revision: 1.8 $
     */
   public class XMLIntrospectorHelper {
   
  @@ -407,7 +407,13 @@
           makeElementDescriptorMap( rootDescriptor, map );
           
           PluralStemmer stemmer = introspector.getPluralStemmer();
  -        return stemmer.findPluralDescriptor( propertyName, map );
  +        ElementDescriptor elementDescriptor = stemmer.findPluralDescriptor( propertyName,
map );
  +        
  +        if ( log.isTraceEnabled() ) {
  +            log.trace( "findPluralDescriptor( " + propertyName + " ):ElementDescriptor="
+ elementDescriptor );
  +        }
  +        
  +        return elementDescriptor;
       }
   
       /**
  
  
  

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