Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-04-09 17:52:13 -0400
committerEugene Tarassov2013-04-09 17:52:13 -0400
commit88da84a4a2b52b5a274c6260b5f8a5317253d18b (patch)
tree22243721a95c6a86265e2e7eb7683caea50f9c74 /plugins
parent130cdb66630033b588a10c7182fef62173558c29 (diff)
downloadorg.eclipse.tcf-88da84a4a2b52b5a274c6260b5f8a5317253d18b.tar.gz
org.eclipse.tcf-88da84a4a2b52b5a274c6260b5f8a5317253d18b.tar.xz
org.eclipse.tcf-88da84a4a2b52b5a274c6260b5f8a5317253d18b.zip
TCF Core: code cleanup
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
index f3540a673..97c234f45 100644
--- a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
+++ b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/EventQueue.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -104,10 +104,10 @@ class EventQueue implements IEventQueue, Runnable {
public synchronized void invokeLater(final Runnable r) {
assert r != null;
if (shutdown) {
- // If not in debug mode, silently ignore this case to avoid
- // confusion and bad impression to the user.
- if (Platform.inDebugMode()) throw new IllegalStateException("TCF event dispatcher has shut down"); //$NON-NLS-1$
- else return;
+ // If not in debug mode, silently ignore this case to avoid
+ // confusion and bad impression to the user.
+ if (Platform.inDebugMode()) throw new IllegalStateException("TCF event dispatcher has shut down"); //$NON-NLS-1$
+ return;
}
queue.add(r);
if (waiting) {

Back to the top