Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.5
-
None
Description
I found minor bugs in two setter methods in the org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread class:
IterativeWorkflowProcessorThread.java
public void setWorkflowInst(WorkflowInstance workflowInst) { workflowInst = workflowInst; } public void setWaitforConditionSatisfy(long waitforConditionSatisfy) { waitForConditionSatisfy = waitforConditionSatisfy; }
They should be changed to the following so that values from the parameters are assigned to member variables:
IterativeWorkflowProcessorThread.java
public void setWorkflowInst(WorkflowInstance workflowInst) { this.workflowInst = workflowInst; } public void setWaitforConditionSatisfy(long waitforConditionSatisfy) { this.waitForConditionSatisfy = waitforConditionSatisfy; }
I've attached a patch for reference. Although this should be a trivial change I wanted to post this issue and patch to make sure that the change would be ok.