Skip to content

Commit 57d32cc

Browse files
torosentCopilot
andcommitted
fix: remove unused subInstanceId variable (CodeQL)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0ede985 commit 57d32cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,6 @@ public <V> Task<V> callSubOrchestrator(
441441
createSubOrchestrationActionBuilder.setVersion(StringValue.of(this.getDefaultVersion()));
442442
}
443443

444-
// Need final copy for lambda capture
445-
final String subInstanceId = instanceId;
446444
TaskFactory<V> taskFactory = () -> {
447445
int id = this.sequenceNumber++;
448446

0 commit comments

Comments
 (0)