ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | cow-commits List | March 2005 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement (1 file)


    Date: Friday, March 11, 2005 @ 10:03:12
  Author: moisev
    Path: 
/cvsroot/cow/cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement

Modified: Default.java


--------------+
 Default.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: 
cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement/Default.java
diff -u 
cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement/Default.java:1.1.1.1
 
cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement/Default.java:1.2
--- 
cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement/Default.java:1.1.1.1
    Tue Sep 16 14:52:59 2003
+++ 
cow/ejb/src/org/objectweb/cow/WorkflowModel/strategy/taskManagement/Default.java
    Fri Mar 11 10:03:12 2005
@@ -20,7 +20,7 @@
 * Initial developer(s): Thomas VANTROYS                                *
 * Contributor(s):                                                      *
 *                                                                      *
-* $Id: Default.java,v 1.1.1.1 2003/09/16 12:52:59 ypeter Exp $
+* $Id: Default.java,v 1.2 2005/03/11 09:03:12 moisev Exp $
 *=====================================================================*/
 package org.objectweb.cow.WorkflowModel.strategy.taskManagement;
 
@@ -50,12 +50,14 @@
     {
       Collection c = wfActivity.getTasks();
       int nb = c.size();
+         System.err.println("taskManagement: Default: size:" + nb + ":");
       Iterator itr = c.iterator();
 
       while (itr.hasNext())
       {
         //                                     
if(wfTI.get_next_object().state() != task_state.completed)
-        if (((WfTaskLocal) itr.next()).state().equals("COMPLETED"))
+//        if (((WfTaskLocal) itr.next()).state().equals("COMPLETED"))
+        if (((WfTaskLocal) itr.next()).state().equals("closed.completed"))
         {
           finish++;
           log.debug("action: finish:" + finish + ":");



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.