continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r584260 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java
Date Fri, 12 Oct 2007 20:32:58 GMT
Author: olamy
Date: Fri Oct 12 13:32:46 2007
New Revision: 584260

URL: http://svn.apache.org/viewvc?rev=584260&view=rev
Log:
fix editing buildDefinition which is used in a template

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java?rev=584260&r1=584259&r2=584260&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/BuildDefinitionTemplateAction.java
Fri Oct 12 13:32:46 2007
@@ -303,6 +303,10 @@
 
     public BuildDefinition getBuildDefinition()
     {
+        if ( this.buildDefinition == null )
+        {
+            this.buildDefinition = new BuildDefinition();
+        }
         return buildDefinition;
     }
 



Mime
View raw message