Bug 279658 [UI] ResourceUtility has unused methods
In org.eclipse.e4.ui.workbench.swt.ResourceUtility, the methods - getGradientColors() - getColor() and field - private ColorRegistry COLOR_REGISTRY all appear unused. In a config with CSS, it handles gradients, colors, and the color registry (although the latter is worth discussing), so I'm not sure the purpose of the methods here.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/ResourceUtility.java
int val = 0;
			try {
				val = Integer.parseInt(m.group());
			} catch (NumberFormatException e) {
				
			}
			if (val > 100) {
				val = 100;
			}
			vals.add(val);
		}
		int[] iVals = new int[vals.size()];
		i = 0;
		for (Integer v : vals) {
			iVals[i++] = v;
		}
		return new Gradient(descs, iVals, gradientparts.length == 3
				&& gradientparts[2].indexOf("true") != -1); 
	}
	public ImageDescriptor imageDescriptorFromURI(URI iconPath) {
		try {
			return ImageDescriptor.createFromURL(new URL(iconPath.toString()));
		} catch (MalformedURLException e) {
			System.err.println("iconURI \"" + iconPath.toString()
					+ "\" is invalid, no image will be shown");
			return null;
		}
	}
}