mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
Added assert.
This commit is contained in:
parent
6a1d6ba1d5
commit
4c2c31028a
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ public class DsfSession
|
||||||
*/
|
*/
|
||||||
@ThreadSafe
|
@ThreadSafe
|
||||||
public void dispatchEvent(final Object event, final Dictionary<?,?> serviceProperties) {
|
public void dispatchEvent(final Object event, final Dictionary<?,?> serviceProperties) {
|
||||||
|
assert event != null;
|
||||||
if (DEBUG_SESSION_DISPATCHES) {
|
if (DEBUG_SESSION_DISPATCHES) {
|
||||||
String msg = new Formatter().format(
|
String msg = new Formatter().format(
|
||||||
"%s Dispatching event %s to session %s from thread \"%s\" (%d)", //$NON-NLS-1$
|
"%s Dispatching event %s to session %s from thread \"%s\" (%d)", //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue