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...@apache.org on 2001/06/19 23:32:39 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/templates FuncKey.java
sboag 01/06/19 14:32:39
Modified: java/src/org/apache/xalan/templates FuncKey.java
Log:
Use asIterator instead of clone, since it is cheaper, and more likely
to be stable.
Revision Changes Path
1.12 +8 -8 xml-xalan/java/src/org/apache/xalan/templates/FuncKey.java
Index: FuncKey.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/FuncKey.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- FuncKey.java 2001/06/15 17:54:03 1.11
+++ FuncKey.java 2001/06/19 21:32:37 1.12
@@ -151,14 +151,14 @@
kmgr.getNodeSetDTMByKey(xctxt, docContext, keyname, ref,
xctxt.getNamespaceContext());
- try
- {
- upi.addIterator((LocPathIterator)nl.clone());
- }
- catch(CloneNotSupportedException cnse)
- {
- // will never happen.
- }
+// try
+// {
+ upi.addIterator((LocPathIterator)nl.asIterator(xctxt, docContext));
+// }
+// catch(CloneNotSupportedException cnse)
+// {
+// // will never happen.
+// }
//mnodeset.addNodesInDocOrder(nl, xctxt); needed??
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org