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/digester XMLIntrospectorHelper.java
Date Mon, 24 Nov 2003 09:20:13 GMT
mvdb        2003/11/24 01:20:13

  Modified:    betwixt/src/java/org/apache/commons/betwixt/digester
                        XMLIntrospectorHelper.java
  Log:
  Fixing bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23324
  Thanx to Lari Hotari for spotting this.
  
  Revision  Changes    Path
  1.27      +12 -12    jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java
  
  Index: XMLIntrospectorHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- XMLIntrospectorHelper.java	9 Oct 2003 20:52:04 -0000	1.26
  +++ XMLIntrospectorHelper.java	24 Nov 2003 09:20:13 -0000	1.27
  @@ -619,14 +619,14 @@
               return false;
           }
           return type.getName().startsWith( "java.lang." )
  -            || type.isAssignableFrom( Number.class ) 
  -            || type.isAssignableFrom( String.class ) 
  -            || type.isAssignableFrom( Date.class ) 
  -            || type.isAssignableFrom( java.sql.Date.class ) 
  -            || type.isAssignableFrom( java.sql.Time.class ) 
  -            || type.isAssignableFrom( java.sql.Timestamp.class ) 
  -            || type.isAssignableFrom( java.math.BigDecimal.class ) 
  -            || type.isAssignableFrom( java.math.BigInteger.class );
  +            || Number.class.isAssignableFrom( type ) 
  +            || String.class.isAssignableFrom( type ) 
  +            || Date.class.isAssignableFrom( type ) 
  +            || java.sql.Date.class.isAssignableFrom( type ) 
  +            || java.sql.Time.class.isAssignableFrom( type ) 
  +            || java.sql.Timestamp.class.isAssignableFrom( type ) 
  +            || java.math.BigDecimal.class.isAssignableFrom( type ) 
  +            || java.math.BigInteger.class.isAssignableFrom( type );
       }
       
       // Implementation methods
  
  
  

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


Mime
View raw message