You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2004/04/09 13:56:03 UTC

cvs commit: xml-xindice/java/src/org/apache/xindice/core/query XPathQueryResolver.java

vgritsenko    2004/04/09 04:56:03

  Modified:    java/src/org/apache/xindice/core/query
                        XPathQueryResolver.java
  Log:
  fix jdk1.3 compilation error
  
  Revision  Changes    Path
  1.30      +3 -3      xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java
  
  Index: XPathQueryResolver.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- XPathQueryResolver.java	4 Mar 2004 13:52:20 -0000	1.29
  +++ XPathQueryResolver.java	9 Apr 2004 11:56:03 -0000	1.30
  @@ -1220,7 +1220,7 @@
                       case XObject.CLASS_BOOLEAN:
                           ni = EMPTY_NODE_ITERATOR;
   
  -                        node = new DocumentImpl().createTextNode(Boolean.toString(xobject.bool()));
  +                        node = new DocumentImpl().createTextNode(String.valueOf(xobject.bool()));
                           if (n instanceof DBNode) {
                               ((TextImpl) node).setSource(((DBNode) n).getSource());
                           }