Skip to content

Commit

Permalink
chore: backport "copy list to prevent ConcurrentModificationException (
Browse files Browse the repository at this point in the history
…#4554)" (#4570)

Co-authored-by: Tim Fox <[email protected]>
  • Loading branch information
vcrfxia and purplefox authored Feb 17, 2020
1 parent 99004e1 commit 41277c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void handleError(final Throwable t) {
}

public synchronized List<JsonObject> getRowsInserted() {
return rowsInserted;
return new ArrayList<>(rowsInserted);
}

public synchronized boolean isCompleted() {
Expand Down

0 comments on commit 41277c2

Please sign in to comment.