From c6f2e736f177daa7c2112b6d76af94c57b903c6d Mon Sep 17 00:00:00 2001 From: Tihomir Surdilovic Date: Thu, 17 Mar 2022 12:10:20 -0400 Subject: [PATCH 1/2] Fix comments for UntypedExternalWorkflowStub Signed-off-by: Tihomir Surdilovic --- temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java index 3a7b08a330..cc106566a1 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java @@ -244,7 +244,7 @@ public static ChildWorkflowStub newUntypedChildWorkflowStub(String workflowType) } /** - * Creates untyped client stub that can be used to signal or cancel a child workflow. + * Creates untyped client stub that can be used to signal or cancel an existing workflow execution. * * @param execution execution of the workflow to communicate with. */ @@ -253,7 +253,7 @@ public static ExternalWorkflowStub newUntypedExternalWorkflowStub(WorkflowExecut } /** - * Creates untyped client stub that can be used to signal or cancel a child workflow. + * Creates untyped client stub that can be used to signal or cancel an existing workflow execution. * * @param workflowId id of the workflow to communicate with. */ From 99369ae0afbfb0ff03483b0ce4d9cd4cf14e8c4a Mon Sep 17 00:00:00 2001 From: Tihomir Surdilovic Date: Thu, 17 Mar 2022 12:42:20 -0400 Subject: [PATCH 2/2] fixed formatting Signed-off-by: Tihomir Surdilovic --- .../src/main/java/io/temporal/workflow/Workflow.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java index cc106566a1..8ae7c5bf35 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java @@ -244,7 +244,8 @@ public static ChildWorkflowStub newUntypedChildWorkflowStub(String workflowType) } /** - * Creates untyped client stub that can be used to signal or cancel an existing workflow execution. + * Creates untyped client stub that can be used to signal or cancel an existing workflow + * execution. * * @param execution execution of the workflow to communicate with. */ @@ -253,7 +254,8 @@ public static ExternalWorkflowStub newUntypedExternalWorkflowStub(WorkflowExecut } /** - * Creates untyped client stub that can be used to signal or cancel an existing workflow execution. + * Creates untyped client stub that can be used to signal or cancel an existing workflow + * execution. * * @param workflowId id of the workflow to communicate with. */