Skip to content

Commit 976b2e7

Browse files
committed
IWF-101: Removing redundant setters
1 parent f4807a5 commit 976b2e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/io/iworkflow/core/Client.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import io.iworkflow.core.exceptions.NoRunningWorkflowException;
55
import io.iworkflow.core.exceptions.WorkflowAlreadyStartedException;
66
import io.iworkflow.core.exceptions.WorkflowNotExistsException;
7-
import io.iworkflow.core.mapper.StateMovementMapper;
87
import io.iworkflow.core.persistence.PersistenceOptions;
98
import io.iworkflow.gen.models.ErrorSubStatus;
109
import io.iworkflow.gen.models.KeyValue;
@@ -174,7 +173,7 @@ public String startWorkflow(
174173
throw new WorkflowDefinitionException(String.format("input cannot be assigned to the starting state, input type: %s, starting state input type: %s", input.getClass(), registeredInputType));
175174
}
176175

177-
WorkflowStateOptions stateOptions = StateMovementMapper.toIdlWorkflowStateOptionsWithValidation(stateDef);
176+
WorkflowStateOptions stateOptions = toIdlWorkflowStateOptionsWithValidation(stateDef);
178177
if (shouldSkipWaitUntil(stateDef.getWorkflowState())) {
179178
if (stateOptions == null) {
180179
stateOptions = new WorkflowStateOptions().skipWaitUntil(true);

0 commit comments

Comments
 (0)