Return-Path: Delivered-To: apmail-ode-commits-archive@www.apache.org Received: (qmail 83105 invoked from network); 4 Sep 2008 16:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2008 16:57:51 -0000 Received: (qmail 75889 invoked by uid 500); 4 Sep 2008 16:57:49 -0000 Delivered-To: apmail-ode-commits-archive@ode.apache.org Received: (qmail 75870 invoked by uid 500); 4 Sep 2008 16:57:49 -0000 Mailing-List: contact commits-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ode.apache.org Delivered-To: mailing list commits@ode.apache.org Received: (qmail 75861 invoked by uid 99); 4 Sep 2008 16:57:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 09:57:49 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 16:56:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6233823889C1; Thu, 4 Sep 2008 09:57:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@ode.apache.org From: mriou@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080904165730.6233823889C1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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() {