We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a13c6d commit aa14fb1Copy full SHA for aa14fb1
java/src/processing/mode/java/ErrorColumn.java
@@ -30,6 +30,7 @@
30
import java.awt.event.MouseEvent;
31
import java.awt.event.MouseMotionAdapter;
32
import java.util.ArrayList;
33
+import java.util.Collections;
34
import java.util.List;
35
36
import javax.swing.JPanel;
@@ -98,7 +99,8 @@ public class ErrorColumn extends JPanel {
98
99
/**
100
* Stores error markers displayed PER TAB along the error bar.
101
*/
- protected List<ErrorMarker> errorPoints = new ArrayList<ErrorMarker>();
102
+ protected List<ErrorMarker> errorPoints =
103
+ Collections.synchronizedList(new ArrayList<ErrorMarker>());
104
105
106
* Stores previous list of error markers.
0 commit comments