continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440482 - /maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Tue, 05 Sep 2006 20:50:40 GMT
Author: carlos
Date: Tue Sep  5 13:50:39 2006
New Revision: 440482

URL: http://svn.apache.org/viewvc?view=rev&rev=440482
Log:
Return project groups with full info

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=440482&r1=440481&r2=440482
==============================================================================
--- 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
Tue Sep  5 13:50:39 2006
@@ -1065,6 +1065,10 @@
 
                 projectGroup = store.getProjectGroupWithProjects( projectGroupId );
             }
+
+            /* add the project group loaded from database, which has more info, like id */
+            result.getProjectGroups().remove( 0 );
+            result.getProjectGroups().add( projectGroup );
         }
         catch ( ContinuumStoreException e )
         {



Mime
View raw message