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() {
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.