mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assertion when project is initialized
assert EDT if only breakpoints are really removed
This commit is contained in:
@@ -799,11 +799,9 @@ public class BreakpointManager implements JDOMExternalizable {
|
||||
}
|
||||
|
||||
private void removeInvalidBreakpoints() {
|
||||
ApplicationManager.getApplication().assertIsDispatchThread();
|
||||
ArrayList<Breakpoint> toDelete = new ArrayList<Breakpoint>();
|
||||
|
||||
for (Iterator it = getBreakpoints().listIterator(); it.hasNext();) {
|
||||
Breakpoint breakpoint = (Breakpoint)it.next();
|
||||
for (Breakpoint breakpoint : getBreakpoints()) {
|
||||
if (!breakpoint.isValid()) {
|
||||
toDelete.add(breakpoint);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user