[jbpm-commits] JBoss JBPM SVN: r7056 - in jbpm3/branches/jbpm-3.2-soa: core/src/main/java/org/jbpm/command and 2 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Feb 21 21:03:23 EST 2012


Author: marco.rietveld
Date: 2012-02-21 21:03:22 -0500 (Tue, 21 Feb 2012)
New Revision: 7056

Modified:
   jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/bytes/ByteBlockChopper.java
   jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/CancelProcessInstanceCommand.java
   jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/ExecuteJobsCommand.java
   jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/configuration/FieldInfo.java
   jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml
Log:
Random clean up: imports, deleting unused methods, messages, documentation

Modified: jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/bytes/ByteBlockChopper.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/bytes/ByteBlockChopper.java	2012-02-16 10:29:39 UTC (rev 7055)
+++ jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/bytes/ByteBlockChopper.java	2012-02-22 02:03:22 UTC (rev 7056)
@@ -23,12 +23,10 @@
 
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.Collections;
 import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-
 import org.jbpm.JbpmConfiguration.Configs;
 
 /**

Modified: jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/CancelProcessInstanceCommand.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/CancelProcessInstanceCommand.java	2012-02-16 10:29:39 UTC (rev 7055)
+++ jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/CancelProcessInstanceCommand.java	2012-02-22 02:03:22 UTC (rev 7056)
@@ -88,4 +88,6 @@
     setProcessInstanceId(processInstanceId);
     return this;
   }
+  
+  
 }

Modified: jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/ExecuteJobsCommand.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/ExecuteJobsCommand.java	2012-02-16 10:29:39 UTC (rev 7055)
+++ jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/command/ExecuteJobsCommand.java	2012-02-22 02:03:22 UTC (rev 7056)
@@ -1,6 +1,5 @@
 package org.jbpm.command;
 
-import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Date;
@@ -8,7 +7,6 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-
 import org.jbpm.JbpmContext;
 import org.jbpm.db.JobSession;
 import org.jbpm.graph.exe.ProcessInstance;
@@ -111,14 +109,5 @@
     if (job.execute(jbpmContext)) jobSession.deleteJob(job);
   }
 
-  protected Date getNextDueDate() {
-    Date nextDueDate = null;
-    JobSession jobSession = jbpmContext.getJobSession();
-    Job job = jobSession.getFirstDueJob(getName(), new ArrayList());
-    if (job != null) {
-      nextDueDate = job.getDueDate();
-    }
-    return nextDueDate;
-  }
 
 }

Modified: jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/configuration/FieldInfo.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/configuration/FieldInfo.java	2012-02-16 10:29:39 UTC (rev 7055)
+++ jbpm3/branches/jbpm-3.2-soa/core/src/main/java/org/jbpm/configuration/FieldInfo.java	2012-02-22 02:03:22 UTC (rev 7056)
@@ -76,7 +76,7 @@
           // keep looking
         }
       }
-      throw new JbpmException("missing field '" + "' in " + type);
+      throw new JbpmException("missing field '" + fieldName + "' in " + type);
     }
   }
 }

Modified: jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml	2012-02-16 10:29:39 UTC (rev 7055)
+++ jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml	2012-02-22 02:03:22 UTC (rev 7056)
@@ -1056,14 +1056,14 @@
               <entry>sub-process</entry>
               <entry>element</entry>
               <entry>1</entry>
-              <entry>This is the sub-process that is associated with this node</entry>
+              <entry>This is the sub-process that is associated with this node.</entry>
             </row>
             <row>
               <entry>variable</entry>
               <entry>element</entry>
               <entry>[0..*]</entry>
               <entry>This specifies how data should be copied from the super-process 
-              to the sub-process at the commencement, and from the sub-process  to the 
+              to the sub-process at the commencement, and from the sub-process to the 
               super-process upon completion, of the sub-process.</entry>
             </row>
             <row>



More information about the jbpm-commits mailing list