Keine ConcurrentModificationException mehr durch das Plugin.
This commit is contained in:
parent
59ee469172
commit
60ab289eeb
@ -346,7 +346,9 @@ public class JavEditor extends TextEditor implements UnifyResultListener {
|
|||||||
Vector<JavMarker> markers = new Vector<JavMarker>();
|
Vector<JavMarker> markers = new Vector<JavMarker>();
|
||||||
Vector<JavMarker> newMarkers = typeinference.updateWithResult(markers, evt.getNewTypeResult());
|
Vector<JavMarker> newMarkers = typeinference.updateWithResult(markers, evt.getNewTypeResult());
|
||||||
|
|
||||||
errorMarkers.removeAll(newMarkers);
|
for (int i = 0; i < newMarkers.size(); i++) {
|
||||||
|
errorMarkers.remove(newMarkers.get(i));
|
||||||
|
}
|
||||||
|
|
||||||
for (JavMarker trm : newMarkers) {
|
for (JavMarker trm : newMarkers) {
|
||||||
if (trm instanceof TypeReplaceMarker) {
|
if (trm instanceof TypeReplaceMarker) {
|
||||||
|
Loading…
Reference in New Issue
Block a user