You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by rf...@apache.org on 2008/03/11 20:59:11 UTC
svn commit: r636082 -
/lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java
Author: rfrovarp
Date: Tue Mar 11 12:59:08 2008
New Revision: 636082
URL: http://svn.apache.org/viewvc?rev=636082&view=rev
Log:
Provide iterator in undetermined order for when it doesn't matter. Should help out with 44577
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java?rev=636082&r1=636081&r2=636082&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/site/NodeSet.java Tue Mar 11 12:59:08 2008
@@ -139,6 +139,13 @@
}
/**
+ * @return An iterator iterating in undetermined order.
+ */
+ public NodeIterator iterator() {
+ return new NodeIterator(getNodes());
+ }
+
+ /**
* @return An iterator iterating in ascending order.
*/
public NodeIterator ascending() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org