Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2010-12-10 22:31:17 +0000
committerSergey Prigogin2010-12-10 22:31:17 +0000
commit49332004f6240d4cc050aa715028d67033fc5887 (patch)
treef0bfda0f123128ccd5b33175472f70ad3d19b7ff /debug/org.eclipse.cdt.debug.ui/src
parentf8dfab70e855a0eb3935df219aa425dbb0de84ef (diff)
downloadorg.eclipse.cdt-49332004f6240d4cc050aa715028d67033fc5887.tar.gz
org.eclipse.cdt-49332004f6240d4cc050aa715028d67033fc5887.tar.xz
org.eclipse.cdt-49332004f6240d4cc050aa715028d67033fc5887.zip
Cosmetics.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/src')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugImages.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugImages.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugImages.java
index fcb31d4e0c0..5387b5e2d1c 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugImages.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugImages.java
@@ -14,7 +14,6 @@ package org.eclipse.cdt.debug.internal.ui;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
-import java.util.Iterator;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
import org.eclipse.jface.action.IAction;
@@ -235,8 +234,7 @@ public class CDebugImages {
/* package */ static ImageRegistry getImageRegistry() {
if (fgImageRegistry == null) {
fgImageRegistry = new ImageRegistry();
- for (Iterator<String> iter = fgAvoidSWTErrorMap.keySet().iterator(); iter.hasNext();) {
- String key = iter.next();
+ for (String key : fgAvoidSWTErrorMap.keySet()) {
fgImageRegistry.put(key, fgAvoidSWTErrorMap.get(key));
}
fgAvoidSWTErrorMap = null;

Back to the top