portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r1578652 - /portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java
Date Mon, 17 Mar 2014 22:47:41 GMT
Author: rwatler
Date: Mon Mar 17 22:47:41 2014
New Revision: 1578652

URL: http://svn.apache.org/r1578652
Log:
JS2-874: Iterator/foreach conversions for page manager implementation

Modified:
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java?rev=1578652&r1=1578651&r2=1578652&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/page/document/NodeSet.java
Mon Mar 17 22:47:41 2014
@@ -29,7 +29,7 @@ import java.util.Iterator;
  * @version $Id$
  *
  */
-public interface NodeSet
+public interface NodeSet extends Iterable<Node>
 {
 
     void add(Node node);
@@ -48,7 +48,7 @@ public interface NodeSet
      */
     Node get(String name);
 
-    Iterator iterator();
+    Iterator<Node> iterator();
     
     NodeSet subset(String type);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message