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
} catch (MalformedURLException e) {
				return null;
			}
		}
		if (fullPathString == null) {
			return null;
		}
		return ImageDescriptor.createFromURL(fullPathString);
	}
	public ColorDescriptor getColor(String colorDefinition) {
		RGB rgb = new RGB(255, 255, 255);
		if (colorDefinition.indexOf("rgb") != -1) { 
			Pattern p = Pattern.compile("\\d+"); 
			Matcher m = p.matcher(colorDefinition);
			int valCount = 0;
			while (m.find()) {
				int val = 0;
				try {
					val = Integer.parseInt(m.group());
				} catch (NumberFormatException e) {
				}
				
				if (val < 0)
					val = 0;
				if (val > 255)
					val = 255;
				if (valCount == 0) {
					rgb.red = val;
				} else if (valCount == 1) {
					rgb.green = val;