Skip to content

Commit b0e439f

Browse files
author
Liang Mei
committed
rename getChildWorkflowExecution to getWorkflowExecution
1 parent 4118757 commit b0e439f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/uber/cadence/internal/sync/WorkflowInternal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public static <T> T newExternalWorkflowStub(
167167
new ExternalWorkflowInvocationHandler(execution, getWorkflowInterceptor()));
168168
}
169169

170-
public static Promise<WorkflowExecution> getChildWorkflowExecution(Object workflowStub) {
170+
public static Promise<WorkflowExecution> getWorkflowExecution(Object workflowStub) {
171171
if (workflowStub instanceof WorkflowStub) {
172172
return ((WorkflowStub) workflowStub).__getWorkflowExecution();
173173
}

src/main/java/com/uber/cadence/workflow/Workflow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public static <R> R newExternalWorkflowStub(
443443
* as child workflow start is asynchronous.
444444
*/
445445
public static Promise<WorkflowExecution> getWorkflowExecution(Object childWorkflowStub) {
446-
return WorkflowInternal.getChildWorkflowExecution(childWorkflowStub);
446+
return WorkflowInternal.getWorkflowExecution(childWorkflowStub);
447447
}
448448

449449
/**

0 commit comments

Comments
 (0)