From 0372a0c2ea223e9830764f85f9b5f0b0bfe1b45b Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Wed, 6 Jun 2018 08:00:33 +0200 Subject: [PATCH] typos #383 --- .../src/main/java/org/imixs/workflow/ItemCollection.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/imixs-workflow-core/src/main/java/org/imixs/workflow/ItemCollection.java b/imixs-workflow-core/src/main/java/org/imixs/workflow/ItemCollection.java index 89d705cff..24e3b82de 100644 --- a/imixs-workflow-core/src/main/java/org/imixs/workflow/ItemCollection.java +++ b/imixs-workflow-core/src/main/java/org/imixs/workflow/ItemCollection.java @@ -1063,10 +1063,10 @@ public String getType() { */ @Deprecated public int getProcessID() { - int result= getItemValueInteger(WorkflowKernel.PROCESSID); + int result = getItemValueInteger(WorkflowKernel.PROCESSID); if (result == 0 && hasItem("$taskid")) { result = getTaskID(); - } + } return result; } @@ -1080,8 +1080,7 @@ public int getTaskID() { // see issue #384 /* * logger. - * warning("The field $processid is deprecated. Please use $taskid instead. " - * + + * warning("The field $processid is deprecated. Please use $taskid instead. " + * "Processing a workitem with an deprecated $processid is still supported."); */ result = getItemValueInteger("$processid"); @@ -1098,7 +1097,7 @@ public int getTaskID() { */ public void setTaskID(int taskID) { replaceItemValue(WorkflowKernel.TASKID, taskID); - // if deprectaed processID must still be supported. See issue #382 + // deprecated processID is still supported for a long period. See issue #384 replaceItemValue("$processid", taskID); }