commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt XMLIntrospector.java
Date Mon, 19 Nov 2001 10:06:10 GMT
jstrachan    01/11/19 02:06:10

  Modified:    betwixt  build.xml
               betwixt/src/java/org/apache/commons/betwixt
                        XMLIntrospector.java
  Log:
  Avoided outputting the class property
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-commons-sandbox/betwixt/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	2001/08/23 14:25:57	1.3
  +++ build.xml	2001/11/19 10:06:10	1.4
  @@ -1,4 +1,4 @@
  -<!-- $Id: build.xml,v 1.3 2001/08/23 14:25:57 jstrachan Exp $ -->
  +<!-- $Id: build.xml,v 1.4 2001/11/19 10:06:10 jstrachan Exp $ -->
   <project name="betwixt" default="test" basedir=".">
   
      <!-- patternset describing files to be copied from the doc directory -->
  @@ -144,7 +144,7 @@
           </fileset>
         </copy>
         <mkdir dir="${dest.doc.api}"/>
  -      <javadoc packagenames="org.*"
  +      <javadoc packagenames="org.*, javax.*"
                  sourcepath="${workdir}"
                  destdir="${dest.doc.api}"
                  windowtitle="${Name-Long}"
  
  
  
  1.7       +6 -2      jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java
  
  Index: XMLIntrospector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XMLIntrospector.java	2001/08/23 15:03:07	1.6
  +++ XMLIntrospector.java	2001/11/19 10:06:10	1.7
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE file.
    * 
  - * $Id: XMLIntrospector.java,v 1.6 2001/08/23 15:03:07 jstrachan Exp $
  + * $Id: XMLIntrospector.java,v 1.7 2001/11/19 10:06:10 jstrachan Exp $
    */
   package org.apache.commons.betwixt;
   
  @@ -35,7 +35,7 @@
   /** <p><code>XMLIntrospector</code> an introspector of beans to create
a XMLBeanInfo instance.</p>
     *
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  -  * @version $Revision: 1.6 $
  +  * @version $Revision: 1.7 $
     */
   public class XMLIntrospector {
   
  @@ -142,6 +142,10 @@
           NodeDescriptor nodeDescriptor = null;
           Method readMethod = propertyDescriptor.getReadMethod();
           if ( readMethod == null ) {
  +            return;
  +        }
  +        // ignore class property
  +        if ( Class.class.equals( type ) && "class".equals( propertyDescriptor.getName()
) ) {
               return;
           }
           if ( isPrimitiveType( type ) ) {
  
  
  

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