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
}
	/**
	 * Returns the busy images for the Web browser.
	 *
	 * @return org.eclipse.swt.graphics.Image[]
	 */
	public static Image[] getBusyImages() {
		return busyImages;
	}
	/**
	 * Return the image with the given key.
	 *
	 * @param key java.lang.String
	 * @return org.eclipse.swt.graphics.Image
	 */
	public static Image getImage(String key) {
		if (imageRegistry == null)
			initializeImageRegistry();
		return imageRegistry.get(key);
	}
	/**
	 * Return the image descriptor with the given key.
	 *
	 * @param key java.lang.String
	 * @return org.eclipse.jface.resource.ImageDescriptor
	 */
	public static ImageDescriptor getImageDescriptor(String key) {
		if (imageRegistry == null)
			initializeImageRegistry();