continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r608626 - /maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Date Thu, 03 Jan 2008 20:50:23 GMT
Author: olamy
Date: Thu Jan  3 12:50:22 2008
New Revision: 608626

URL: http://svn.apache.org/viewvc?rev=608626&view=rev
Log:
[CONTINUUM-1590] updateBuildDefinitionForProjectGroup leads to a StackOverflowError

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

Modified: maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java?rev=608626&r1=608625&r2=608626&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Thu Jan  3 12:50:22 2008
@@ -221,8 +221,8 @@
     protected String getProjectGroupName( int projectGroupId )
         throws ContinuumException
     {
-        ProjectGroupSummary pgs = getPGSummary( projectGroupId );
-        return pgs.getName();
+        org.apache.maven.continuum.model.project.ProjectGroup projectGroup = continuum.getProjectGroup(
projectGroupId );
+        return projectGroup == null ? null : projectGroup.getName();
     }
 
     private ProjectGroupSummary getPGSummary( int projectGroupId )



Mime
View raw message