You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/08/04 05:22:33 UTC

cvs commit: xml-xalan/src/org/apache/xalan/xpath/dtm DTMProxy.java

sboag       00/08/03 20:22:33

  Modified:    src/org/apache/xalan/xpath/dtm DTMProxy.java
  Log:
  Fix for equals(Object node), attribution to: Gary L Peskin <ga...@firstech.com>
  
  Revision  Changes    Path
  1.13      +4 -2      xml-xalan/src/org/apache/xalan/xpath/dtm/DTMProxy.java
  
  Index: DTMProxy.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/dtm/DTMProxy.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DTMProxy.java	2000/07/31 02:10:55	1.12
  +++ DTMProxy.java	2000/08/04 03:22:33	1.13
  @@ -134,8 +134,10 @@
     {
       try
       {
  -      DTMProxy dtmp = (DTMProxy)node;
  -      return (dtmp.node == this.node);
  +      // DTMProxy dtmp = (DTMProxy)node;
  +      // return (dtmp.node == this.node);
  +      // Patch attributed to Gary L Peskin <ga...@firstech.com>
  +      return equals((Node) node);
       }
       catch(ClassCastException cce)
       {