continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r349957 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
Date Wed, 30 Nov 2005 14:35:25 GMT
Author: evenisse
Date: Wed Nov 30 06:35:20 2005
New Revision: 349957

URL: http://svn.apache.org/viewcvs?rev=349957&view=rev
Log:
don't modify default schedule if it exist in database

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java?rev=349957&r1=349956&r2=349957&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
Wed Nov 30 06:35:20 2005
@@ -92,17 +92,7 @@
             // Schedule
             Schedule s = store.getScheduleByName( DEFAULT_SCHEDULE_NAME );
 
-            if ( s != null )
-            {
-                defaultSchedule = s;
-
-                defaultSchedule.setDescription( systemConf.getDefaultScheduleDescription()
);
-
-                defaultSchedule.setCronExpression( systemConf.getDefaultScheduleCronExpression()
);
-
-                defaultSchedule = store.storeSchedule( defaultSchedule );
-            }
-            else
+            if ( s == null )
             {
                 defaultSchedule = createDefaultSchedule();
 



Mime
View raw message