ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r692161 - /ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java
Date Thu, 04 Sep 2008 16:57:30 GMT
Author: mriou
Date: Thu Sep  4 09:57:28 2008
New Revision: 692161

URL: http://svn.apache.org/viewvc?rev=692161&view=rev
Log:
The mock scheduler shouldn't return null on new job creations.

Modified:
    ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java

Modified: ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java
URL: http://svn.apache.org/viewvc/ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java?rev=692161&r1=692160&r2=692161&view=diff
==============================================================================
--- ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java (original)
+++ ode/trunk/il-common/src/main/java/org/apache/ode/il/MockScheduler.java Thu Sep  4 09:57:28
2008
@@ -36,6 +36,7 @@
 import org.apache.commons.logging.LogFactory;
 import org.apache.ode.bpel.iapi.ContextException;
 import org.apache.ode.bpel.iapi.Scheduler;
+import org.apache.ode.utils.GUID;
 
 /**
  * 
@@ -84,12 +85,11 @@
             public void beforeCompletion() {
             }
         });
-        return null;
-
+        return new GUID().toString();
     }
 
     public void cancelJob(String arg0) throws ContextException {
-
+        
     }
 
     public void start() {



Mime
View raw message