From 647f0759bc0d9d57345c4d212092fdc3ed6bc39c Mon Sep 17 00:00:00 2001 From: Benoit Moriceau Date: Tue, 13 Sep 2022 09:43:12 -0700 Subject: [PATCH] Remove PMD warning and fix a code style (#16454) * Remove PMD warning and fix a code style * format --- .../temporal/scheduling/ConnectionManagerWorkflowImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java index 23caab44ba55..67ffdc7f27bd 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java @@ -179,6 +179,7 @@ public void run(final ConnectionUpdaterInput connectionUpdaterInput) throws Retr } } + @SuppressWarnings("PMD.EmptyIfStmt") private CancellationScope generateSyncWorkflowRunnable(final ConnectionUpdaterInput connectionUpdaterInput) { return Workflow.newCancellationScope(() -> { connectionId = connectionUpdaterInput.getConnectionId();