Skip to content

Commit

Permalink
Don't Synchronize List
Browse files Browse the repository at this point in the history
  • Loading branch information
awidesky committed Aug 5, 2021
1 parent f226b79 commit 1e8f350
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class TaskStatusModel extends AbstractTableModel {
private static final long serialVersionUID = -7803447765391487650L;

private static TaskStatusModel instance = new TaskStatusModel();
private List<TaskData> rows = Collections.synchronizedList(new ArrayList<>());
private List<TaskData> rows = new ArrayList<>();

private TaskStatusModel() {
}
Expand Down

0 comments on commit 1e8f350

Please sign in to comment.