Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Jun 6, 2018
1 parent e087a30 commit 0372a0c
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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");
Expand All @@ -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);
}

Expand Down

0 comments on commit 0372a0c

Please sign in to comment.