continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r329191 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Fri, 28 Oct 2005 13:00:09 GMT
Author: evenisse
Date: Fri Oct 28 06:00:05 2005
New Revision: 329191

URL: http://svn.apache.org/viewcvs?rev=329191&view=rev
Log:
Fix tag when it's empty in edit project view. It must be set to null.

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=329191&r1=329190&r2=329191&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 Oct 28 06:00:05 2005
@@ -1706,6 +1706,11 @@
                 FileUtils.deleteDirectory( workingDirectory );
             }
 
+            if ( StringUtils.isEmpty( project.getScmTag() ) )
+            {
+                project.setScmTag( null );
+            }
+
             store.updateProject( project );
         }
         catch ( ContinuumStoreException ex )



Mime
View raw message