diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java index 15048895a..f90062145 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java @@ -271,8 +271,7 @@ public class DebugPluginImages { //try to get the images from the config types themselves, cache those that could not be found IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.EXTENSION_POINT_LAUNCH_CONFIGURATION_TYPE_IMAGES); IConfigurationElement[] configElements= extensionPoint.getConfigurationElements(); - for (int i = 0; i < configElements.length; i++) { - IConfigurationElement configElement = configElements[i]; + for (IConfigurationElement configElement : configElements) { ImageDescriptor descriptor = DebugUIPlugin.getImageDescriptor(configElement, ATTR_LAUNCH_CONFIG_TYPE_ICON); if (descriptor == null) { descriptor = ImageDescriptor.getMissingImageDescriptor(); |