Skip to content

Commit e3961a9

Browse files
committed
Spotless
1 parent b292356 commit e3961a9

5 files changed

Lines changed: 9 additions & 11 deletions

File tree

temporal-sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,4 +287,4 @@ testing {
287287
tasks.named('check') {
288288
dependsOn(testing.suites.jackson3Tests)
289289
dependsOn(testing.suites.virtualThreadTests)
290-
}
290+
}

temporal-sdk/src/main/java/io/temporal/internal/sync/DeterministicRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ static DeterministicRunner newRunner(
5252
* completed or blocked.
5353
*
5454
* @throws Throwable if one of the threads didn't handle an exception.
55-
* @param deadlockDetectionTimeout the maximum time in milliseconds after a thread is
56-
* scheduled until it yields or completes.
55+
* @param deadlockDetectionTimeout the maximum time in milliseconds after a thread is scheduled
56+
* until it yields or completes.
5757
*/
5858
void runUntilAllBlocked(long deadlockDetectionTimeout);
5959

temporal-sdk/src/main/java/io/temporal/internal/sync/PotentialDeadlockException.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ public class PotentialDeadlockException extends RuntimeException {
4949
* @param timeoutMillis configured deadlock detection timeout in milliseconds
5050
*/
5151
PotentialDeadlockException(
52-
WorkflowThreadContext workflowThreadContext,
53-
long detectionTimestamp,
54-
long timeoutMillis) {
52+
WorkflowThreadContext workflowThreadContext, long detectionTimestamp, long timeoutMillis) {
5553
super(
5654
"[TMPRL1101] Potential deadlock detected. Workflow thread could not start executing within "
5755
+ formatTimeout(timeoutMillis)

temporal-sdk/src/main/java/io/temporal/internal/sync/WorkflowThread.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ static WorkflowThread newThread(Runnable runnable, boolean detached, String name
6565
SyncWorkflowContext getWorkflowContext();
6666

6767
/**
68-
* @param deadlockDetectionTimeoutMs the maximum time in milliseconds after a thread is
69-
* scheduled until it yields or completes.
68+
* @param deadlockDetectionTimeoutMs the maximum time in milliseconds after a thread is scheduled
69+
* until it yields or completes.
7070
* @return true if coroutine made some progress.
7171
*/
7272
boolean runUntilBlocked(long deadlockDetectionTimeoutMs);

temporal-sdk/src/main/java/io/temporal/worker/WorkerOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ public Builder setLocalActivityWorkerOnly(boolean localActivityWorkerOnly) {
327327
/**
328328
* @param defaultDeadlockDetectionTimeoutMs time period in ms that will be used to detect
329329
* workflows deadlock. Default is 1000ms, which is chosen if set to zero.
330-
* <p>Specifies a time interval in milliseconds within which a workflow task must
331-
* yield (like calling an Activity) or complete. If a workflow task runs longer than
332-
* the specified interval or takes too long to begin running, it will fail automatically.
330+
* <p>Specifies a time interval in milliseconds within which a workflow task must yield
331+
* (like calling an Activity) or complete. If a workflow task runs longer than the specified
332+
* interval or takes too long to begin running, it will fail automatically.
333333
* @return {@code this}
334334
* @see io.temporal.internal.sync.PotentialDeadlockException
335335
*/

0 commit comments

Comments
 (0)