Skip to content

Commit a5d6e60

Browse files
Fix isEveryHandlerFinished doc string (#2182)
1 parent a885812 commit a5d6e60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ public static void applyLocalActivityOptions(
12711271
* interruption of in-progress handlers by workflow return:
12721272
*
12731273
* <pre><code>
1274-
* Workflow.await(() -&gt; Workflow.isAllHandlersFinished());
1274+
* Workflow.await(() -&gt; Workflow.isEveryHandlerFinished());
12751275
* </pre></code> will eventually have search attributes as:
12761276
*
12771277
* @return true if all handlers are finished, false otherwise.

temporal-sdk/src/test/java/io/temporal/workflow/signalTests/SignalAllHandlersFinished.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class SignalAllHandlersFinished {
3939
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestSignalWorkflowImpl.class).build();
4040

4141
@Test
42-
public void isAllHandlersFinished() {
42+
public void isEveryHandlerFinished() {
4343
String workflowId = UUID.randomUUID().toString();
4444
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
4545
WorkflowOptions options =

temporal-sdk/src/test/java/io/temporal/workflow/updateTest/UpdateAllHandlersFinished.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class UpdateAllHandlersFinished {
4242
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestUpdateWorkflowImpl.class).build();
4343

4444
@Test
45-
public void isAllHandlersFinished() throws ExecutionException, InterruptedException {
45+
public void isEveryHandlerFinished() throws ExecutionException, InterruptedException {
4646
String workflowId = UUID.randomUUID().toString();
4747
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
4848
WorkflowOptions options =

0 commit comments

Comments
 (0)