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
} else {
					rgb.blue = val;
				}
				valCount++;
				if (valCount == 3)
					break;
			}
		}
		ColorDescriptor desc;
		if (!COLOR_REGISTRY.hasValueFor(rgb.toString())) {
			COLOR_REGISTRY.put(rgb.toString(), rgb);
			desc = COLOR_REGISTRY.getColorDescriptor(rgb.toString());
		} else {
			desc = COLOR_REGISTRY.getColorDescriptor(rgb.toString());
		}
		return desc;
	}
	public Gradient<ColorDescriptor> getGradientColors(String gradientDefinition) {
		String[] gradientparts = gradientDefinition.split(";"); 
		String[] colors = gradientparts[0].split("-"); 
		List<ColorDescriptor> descs = new ArrayList<ColorDescriptor>(
				colors.length);
		int i = 0;
		for (String color : colors) {
			descs.add(getColor(color));
		}
		Pattern p = Pattern.compile("\\d+"); 
		Matcher m = p.matcher(gradientparts[1]);
		ArrayList<Integer> vals = new ArrayList<Integer>();
		while (m.find()) {