continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r443227 - /maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Thu, 14 Sep 2006 04:39:21 GMT
Author: carlos
Date: Wed Sep 13 21:39:20 2006
New Revision: 443227

URL: http://svn.apache.org/viewvc?view=rev&rev=443227
Log:
[CONTINUUM-871] Solve JDO detaching problems

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

Modified: maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?view=diff&rev=443227&r1=443226&r2=443227
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Wed Sep 13 21:39:20 2006
@@ -771,18 +771,7 @@
     {
         ArrayList buildResults;
 
-        try
-        {
-            buildResults = new ArrayList( store.getProjectWithBuilds( projectId ).getBuildResults()
);
-        }
-        catch ( ContinuumObjectNotFoundException e )
-        {
-            return Collections.EMPTY_LIST;
-        }
-        catch ( ContinuumStoreException e )
-        {
-            throw logAndCreateException( "Exception while getting build results for project.",
e );
-        }
+        buildResults = new ArrayList( store.getBuildResultsForProject( projectId, 0 ) );
 
         Collections.reverse( buildResults );
 



Mime
View raw message