Bug 48604 Loss of old cool bar layout
Openning an old workspce in any integration build after I20031210 will cause pre-existing cool bar layout(cool item order) to be erased. The user will need to re-customize the cool bar layouts on each perspective to ensure its persistance when eclipse is shutdown.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CoolBarManager.java
/**
	 * Return a consistent set of wrap indices.  The return value
	 * will always include at least one entry and the first entry will 
	 * always be zero.  CoolBar.getWrapIndices() is inconsistent 
	 * in whether or not it returns an index for the first row.
	 * 
	 * @param wraps the wrap indicies from the cool bar widget
	 * @return the adjusted wrap indicies.
	 */
	private int[] getAdjustedWrapIndices(int[] wraps) {
		int[] adjustedWrapIndices;
		if (wraps.length == 0) {
			adjustedWrapIndices = new int[] { 0 };
		} else {
			if (wraps[0] != 0) {
				adjustedWrapIndices = new int[wraps.length + 1];
				adjustedWrapIndices[0] = 0;
				for (int i = 0; i < wraps.length; i++) {
					adjustedWrapIndices[i + 1] = wraps[i];
				}
			} else {
				adjustedWrapIndices = wraps;
			}
		}
		return adjustedWrapIndices;
	}
	
	/**
	 * Returns an array list of all the contribution items in the manager.