continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r291140 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Fri, 23 Sep 2005 15:41:11 GMT
Author: evenisse
Date: Fri Sep 23 08:41:07 2005
New Revision: 291140

URL: http://svn.apache.org/viewcvs?rev=291140&view=rev
Log:
Fix build results order

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=291140&r1=291139&r2=291140&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Fri Sep 23 08:41:07 2005
@@ -59,7 +59,9 @@
 import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
+import java.util.ArrayList;
 import java.util.Collection;
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
@@ -985,7 +987,11 @@
     {
         try
         {
-            return store.getProjectWithBuilds( projectId ).getBuildResults();
+            ArrayList buildResults = new ArrayList( store.getProjectWithBuilds( projectId
).getBuildResults() );
+
+            Collections.reverse( buildResults );
+
+            return buildResults;
         }
         catch ( ContinuumStoreException e )
         {



Mime
View raw message