1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Added assert. Defensive programming

This commit is contained in:
John Cortell 2010-04-22 15:58:17 +00:00
parent a31dcc6d91
commit 6a1d6ba1d5

View file

@ -207,6 +207,9 @@ public class MIRunControlEventProcessor_7_0
} else if ("thread-exited".equals(miEvent)) { //$NON-NLS-1$
event = new MIThreadExitEvent(processContainerDmc, exec.getToken(), threadId);
}
else {
assert false; // earlier check should have guaranteed this isn't possible
}
fCommandControl.getSession().dispatchEvent(event, fCommandControl.getProperties());
}