1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-12-10 22:31:17 +00:00
parent f8dfab70e8
commit 49332004f6

View file

@ -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;