continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r446507 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Date Fri, 15 Sep 2006 04:01:13 GMT
Author: carlos
Date: Thu Sep 14 21:01:12 2006
New Revision: 446507

URL: http://svn.apache.org/viewvc?view=rev&rev=446507
Log:
Fix syntax after bad merge

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

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java?view=diff&rev=446507&r1=446506&r2=446507
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Thu Sep 14 21:01:12 2006
@@ -76,16 +76,14 @@
             schedule = getContinuum().getSchedule( id );
             active = schedule.isActive();
 
-                String[] cronEx = schedule.getCronExpression().split( " " );
-                second = cronEx[0];
-                minute = cronEx[1];
-                hour = cronEx[2];
-                dayOfMonth = cronEx[3];
-                month = cronEx[4];
-                dayOfWeek = cronEx[5];
-                year = cronEx[6];
-                i++;
-            }
+            String[] cronEx = schedule.getCronExpression().split( " " );
+            second = cronEx[0];
+            minute = cronEx[1];
+            hour = cronEx[2];
+            dayOfMonth = cronEx[3];
+            month = cronEx[4];
+            dayOfWeek = cronEx[5];
+            year = cronEx[6];
 
             description = schedule.getDescription();
             name = schedule.getName();



Mime
View raw message