xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joan...@apache.org
Subject svn commit: r376867 - /xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java
Date Fri, 10 Feb 2006 21:46:54 GMT
Author: joannet
Date: Fri Feb 10 13:46:53 2006
New Revision: 376867

URL: http://svn.apache.org/viewcvs?rev=376867&view=rev
Log:
fixed jira bug xalanJ-2204 - need to reset iterator when cloning

Modified:
    xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java

Modified: xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java?rev=376867&r1=376866&r2=376867&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java (original)
+++ xalan/java/trunk/src/org/apache/xpath/axes/FilterExprWalker.java Fri Feb 10 13:46:53 2006
@@ -144,9 +144,8 @@
 
     FilterExprWalker clone = (FilterExprWalker) super.clone();
 
-    // clone.m_expr = (Expression)((Expression)m_expr).clone();
     if (null != m_exprObj)
-      clone.m_exprObj = (XNodeSet) m_exprObj.clone();
+      clone.m_exprObj = (XNodeSet) m_exprObj.cloneWithReset();
 
     return clone;
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message