Project: Eclipse_Platform_UI
Bug 279658 [UI] ResourceUtility has unused methods
Reported: 2009-06-09 12:51:46 | Status: resolved fixed

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.

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/ResourceUtility.java bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/IResourceUtiltities.java tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/UIStartupTest.java