continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r469791 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Date Wed, 01 Nov 2006 06:21:19 GMT
Author: evenisse
Date: Tue Oct 31 22:21:18 2006
New Revision: 469791

URL: http://svn.apache.org/viewvc?view=rev&rev=469791
Log:
all new schedules should be active

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

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java?view=diff&rev=469791&r1=469790&r2=469791
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Tue Oct 31 22:21:18 2006
@@ -30,7 +30,7 @@
 {
     private int id;
 
-    private boolean active = true;
+    private boolean active = false;
 
     private int delay;
 
@@ -93,6 +93,12 @@
             delay = schedule.getDelay();
             maxJobExecutionTime = schedule.getMaxJobExecutionTime();
         }
+        else
+        {
+            // all new schedules should be active
+            active = true;
+        }
+
         return SUCCESS;
     }
 



Mime
View raw message