From 2724a59bf2427b09f966072c1ae9a1312b4bfcba Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 25 Jul 2024 09:32:02 -0400 Subject: [PATCH] ./gradlew :temporal-sdk:spotlessApply --- .../java/io/temporal/workflow/DynamicSignalHandler.java | 4 ++-- .../java/io/temporal/workflow/DynamicUpdateHandler.java | 4 ++-- .../java/io/temporal/workflow/ExternalWorkflowStub.java | 6 +++--- .../src/main/java/io/temporal/workflow/package-info.java | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/DynamicSignalHandler.java b/temporal-sdk/src/main/java/io/temporal/workflow/DynamicSignalHandler.java index 258499ae5..f31e74ec5 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/DynamicSignalHandler.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/DynamicSignalHandler.java @@ -23,8 +23,8 @@ import io.temporal.common.converter.EncodedValues; /** - * Use DynamicSignalHandler to process any signal dynamically. This is useful for library-level - * code and implementation of DSLs. + * Use DynamicSignalHandler to process any signal dynamically. This is useful for library-level code + * and implementation of DSLs. * *

Use {@link Workflow#registerListener(Object)} to register an implementation of the * DynamicSignalListener. Only one such listener can be registered per workflow execution. diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/DynamicUpdateHandler.java b/temporal-sdk/src/main/java/io/temporal/workflow/DynamicUpdateHandler.java index 53a61162e..cd4067be6 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/DynamicUpdateHandler.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/DynamicUpdateHandler.java @@ -23,8 +23,8 @@ import io.temporal.common.converter.EncodedValues; /** - * Use DynamicUpdateHandler to process any update dynamically. This is useful for library-level - * code and implementation of DSLs. + * Use DynamicUpdateHandler to process any update dynamically. This is useful for library-level code + * and implementation of DSLs. * *

Use {@link Workflow#registerListener(Object)} to register an implementation of the * DynamicUpdateListener. Only one such listener can be registered per workflow execution. diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/ExternalWorkflowStub.java b/temporal-sdk/src/main/java/io/temporal/workflow/ExternalWorkflowStub.java index 0605eb75d..6623d2845 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/ExternalWorkflowStub.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/ExternalWorkflowStub.java @@ -24,9 +24,9 @@ import io.temporal.internal.sync.StubMarker; /** - * Supports signalling and cancelling any workflow by the workflow type and their id. This is - * useful when an external workflow type is not known at compile time and to call workflows in - * other languages. + * Supports signalling and cancelling any workflow by the workflow type and their id. This is useful + * when an external workflow type is not known at compile time and to call workflows in other + * languages. * * @see Workflow#newUntypedExternalWorkflowStub(String) */ diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/package-info.java b/temporal-sdk/src/main/java/io/temporal/workflow/package-info.java index e5ec25ea5..32de3eeaf 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/package-info.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/package-info.java @@ -65,10 +65,10 @@ * started, a new instance of the workflow implementation object is created. Then, one of the * methods (depending on which workflow type has been started) annotated with {@literal @}{@link * io.temporal.workflow.WorkflowMethod} is invoked. As soon as this method returns the workflow, - * execution is closed. While the workflow execution is open, it can receive calls to signal, update, - * and query methods. No additional calls to workflow methods are allowed. The workflow object is - * stateful, so query, signal, and update methods can communicate with the other parts of the workflow - * through workflow object fields. + * execution is closed. While the workflow execution is open, it can receive calls to signal, + * update, and query methods. No additional calls to workflow methods are allowed. The workflow + * object is stateful, so query, signal, and update methods can communicate with the other parts of + * the workflow through workflow object fields. * *

Calling Activities

*