Bug 55256 [Colors/Fonts] Rollback change to ColorRegistry for gets() on colors that do not exist
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ColorRegistry.java
* <p>
 * A color registry owns all of the <code>Color</code> objects registered with 
 * it, and automatically disposes of them when the SWT Display that creates the 
 * <code>Color</code>s is disposed. Because of this, clients do not need to 
 * (indeed, must not attempt to) dispose of <code>Color</code> objects 
 * themselves.
 * </p>
 * <p>
 * Methods are provided for registering listeners that will be kept
 * apprised of changes to list of registed colors.
 * </p>
 * <p>
 * Clients may instantiate this class (it was not designed to be subclassed).
 * </p>
 * 
 * @since 3.0
 */
public class ColorRegistry extends ResourceRegistry {
	/**
	 * This registries <code>Display</code>. All colors will be allocated using 
	 * it.
	 */
	protected Display display;
	/**
	 * Collection of <code>Color</code> that are now stale to be disposed when 
	 * it is safe to do so (i.e. on shutdown).
	 */
	private List staleColors = new ArrayList();
	/**
	 * Table of known colors, keyed by symbolic color name (key type: <code>String</code>,