Skip to content

Commit

Permalink
refactor: remove extraneous ExecutionContext wrapping in QueryTable.c…
Browse files Browse the repository at this point in the history
…opy (#6682)
  • Loading branch information
devinrsmith authored Mar 5, 2025
1 parent 39a9b75 commit 375695f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3585,10 +3585,7 @@ public QueryTable getSubTable(
*/
@Override
public QueryTable copy() {
final UpdateGraph updateGraph = getUpdateGraph();
try (final SafeCloseable ignored = ExecutionContext.getContext().withUpdateGraph(updateGraph).open()) {
return copy(StandardOptions.COPY_ALL);
}
return copy(StandardOptions.COPY_ALL);
}

public QueryTable copy(Predicate<String> shouldCopy) {
Expand Down

0 comments on commit 375695f

Please sign in to comment.