continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dand...@apache.org
Subject svn commit: r169216 - /maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
Date Mon, 09 May 2005 02:03:14 GMT
Author: dandiep
Date: Sun May  8 19:03:13 2005
New Revision: 169216

URL: http://svn.apache.org/viewcvs?rev=169216&view=rev
Log:
Move to Collection instead of Iterator on Continuum interface. CONTINUUM-107

Modified:
    maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java

Modified: maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java?rev=169216&r1=169215&r2=169216&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
Sun May  8 19:03:13 2005
@@ -249,7 +249,7 @@
         {
             Vector projects = new Vector();
 
-            for ( Iterator it = continuum.getAllProjects( 0, 0 ); it.hasNext(); )
+            for ( Iterator it = continuum.getAllProjects( 0, 0 ).iterator(); it.hasNext();
)
             {
                 ContinuumProject project = (ContinuumProject) it.next();
 
@@ -301,7 +301,7 @@
         try
         {
             // TODO: use start and end
-            Iterator it = continuum.getBuildsForProject( projectId );
+            Iterator it = continuum.getBuildsForProject( projectId ).iterator();
 
             Vector builds = new Vector();
 



Mime
View raw message