Skip to content

Commit

Permalink
Fix unstable BulkVerifierTest (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverno authored Feb 1, 2017
1 parent 6e9c7f2 commit d65285a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.junit.Before;
Expand Down Expand Up @@ -70,7 +71,7 @@ public void visitVariableDeclaration(VariableDeclarationTree tree) {
}

private static class DummyIssueCollector implements IssueCollector {
public List<String> collectedIssues = new ArrayList<>();
public List<String> collectedIssues = Collections.synchronizedList(new ArrayList<>());

@Override
public void writeIssues(Iterator<Issue> issues, File file) {
Expand Down

0 comments on commit d65285a

Please sign in to comment.