Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2016-01-25 06:18:47 -0500
committerMarkus Keller2016-01-25 06:18:47 -0500
commitbbadc72c2bdfa746b7579dc4096dd22381a94f6f (patch)
tree128ad2094f5718408f450763087a196036fdc435 /org.eclipse.debug.core
parentb11c99ce0d8d77c7d8f4d6a8c42acc95125a05e8 (diff)
downloadeclipse.platform.debug-bbadc72c2bdfa746b7579dc4096dd22381a94f6f.tar.gz
eclipse.platform.debug-bbadc72c2bdfa746b7579dc4096dd22381a94f6f.tar.xz
eclipse.platform.debug-bbadc72c2bdfa746b7579dc4096dd22381a94f6f.zip
Bug 486157: Adapt to ListenerList changesI20160126-0800I20160125-2000I20160125-0800
- removed outdated commented code - avoided loop when list is empty
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
index 8ca4c9a77..4009f9a54 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
@@ -1165,12 +1165,12 @@ public class DebugPlugin extends Plugin {
fEvents = events;
if (!fEventFilters.isEmpty()) {
fMode = NOTIFY_FILTERS;
- }
- for (IDebugEventFilter iDebugEventFilter : fEventFilters) {
- fFilter = iDebugEventFilter;
- SafeRunner.run(this);
- if (fEvents == null || fEvents.length == 0) {
- return;
+ for (IDebugEventFilter iDebugEventFilter : fEventFilters) {
+ fFilter = iDebugEventFilter;
+ SafeRunner.run(this);
+ if (fEvents == null || fEvents.length == 0) {
+ return;
+ }
}
}

Back to the top