You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2003/08/24 03:15:28 UTC

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath JXPathIntrospector.java

dmitri      2003/08/23 18:15:28

  Modified:    jxpath/src/java/org/apache/commons/jxpath
                        JXPathIntrospector.java
  Log:
  Fixed a problem with traversing properties of type java.lang.Class
  
  Revision  Changes    Path
  1.7       +5 -4      jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/JXPathIntrospector.java
  
  Index: JXPathIntrospector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/JXPathIntrospector.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JXPathIntrospector.java	11 Mar 2003 00:59:12 -0000	1.6
  +++ JXPathIntrospector.java	24 Aug 2003 01:15:28 -0000	1.7
  @@ -78,6 +78,7 @@
       private static HashMap byInterface = new HashMap();
   
       static {
  +        registerAtomicClass(Class.class);
           registerAtomicClass(Boolean.TYPE);
           registerAtomicClass(Boolean.class);
           registerAtomicClass(Byte.TYPE);