rdonkin     2003/07/01 12:07:25

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io
                        BeanReader.java
  Log:
  Removed additional registration which was causing errors. This may result in some 
small lose of functionality but i doubt whether this stuff has worked correctly for a 
long time.
  
  Revision  Changes    Path
  1.13      +8 -6      
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java
  
  Index: BeanReader.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanReader.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- BeanReader.java   13 Feb 2003 18:41:48 -0000      1.12
  +++ BeanReader.java   1 Jul 2003 19:07:25 -0000       1.13
  @@ -166,7 +166,6 @@
                   log.trace("Added path: " + path + ", mapped to: " + 
beanClass.getName());
               }
               addBeanCreateRule( path, elementDescriptor, beanClass );
  -            addBeanCreateRule( "*/" + path, elementDescriptor, beanClass );
               
           } else {
               if ( log.isWarnEnabled() ) {
  @@ -329,6 +328,9 @@
                                       String path, 
                                       ElementDescriptor elementDescriptor, 
                                       Class beanClass ) {
  +        if (log.isTraceEnabled()) {
  +            log.trace("Adding BeanRuleSet for " + beanClass);
  +        }
           RuleSet ruleSet = new BeanRuleSet( 
                                               introspector, 
                                               path ,  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to