Bug 127121 Fix warnings in UA plugins
We have many warnings in the UA plugins, most of them from org.eclipse.ua.tests as it uses internal code from the other plugins. In addition, there are unused imports, accessing a static method from an instance, unused local variables and deprecated code.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/ImageResource.java
return (ImageDescriptor) imageDescriptors.get(key);
	}
	/**
	 * Initialize the image resources.
	 */
	protected static void initializeImageRegistry() {
		imageRegistry = new ImageRegistry();
		imageDescriptors = new HashMap();
	
		
		registerImage(IMG_ELCL_NAV_BACKWARD, URL_ELCL + "nav_backward.gif"); 
		registerImage(IMG_ELCL_NAV_FORWARD, URL_ELCL + "nav_forward.gif"); 
		registerImage(IMG_ELCL_NAV_STOP, URL_ELCL + "nav_stop.gif"); 
		registerImage(IMG_ELCL_NAV_REFRESH, URL_ELCL + "nav_refresh.gif"); 
		registerImage(IMG_ELCL_NAV_GO, URL_ELCL + "nav_go.gif"); 
		registerImage(IMG_ELCL_NAV_HOME, URL_ELCL + "nav_home.gif"); 
		registerImage(IMG_ELCL_NAV_PRINT, URL_ELCL + "nav_print.gif"); 
	
		registerImage(IMG_CLCL_NAV_BACKWARD, URL_CLCL + "nav_backward.gif"); 
		registerImage(IMG_CLCL_NAV_FORWARD, URL_CLCL + "nav_forward.gif"); 
		registerImage(IMG_CLCL_NAV_STOP, URL_CLCL + "nav_stop.gif"); 
		registerImage(IMG_CLCL_NAV_REFRESH, URL_CLCL + "nav_refresh.gif"); 
		registerImage(IMG_CLCL_NAV_GO, URL_CLCL + "nav_go.gif"); 
		registerImage(IMG_CLCL_NAV_HOME, URL_CLCL + "nav_home.gif"); 
		registerImage(IMG_CLCL_NAV_PRINT, URL_CLCL + "nav_print.gif"); 
	
		registerImage(IMG_DLCL_NAV_BACKWARD, URL_DLCL + "nav_backward.gif"); 
		registerImage(IMG_DLCL_NAV_FORWARD, URL_DLCL + "nav_forward.gif"); 
		registerImage(IMG_DLCL_NAV_STOP, URL_DLCL + "nav_stop.gif"); 
		registerImage(IMG_DLCL_NAV_REFRESH, URL_DLCL + "nav_refresh.gif");