Bug 41743 [MenuMgmt] IContributionManager.remove has undocumented behavior
build 20030820 The doc for IContributionManager.remove says that null will be returned if "this manager has no contribution items with the given id". When I call remove on a menu with an invalid ID I get an IllegalArgumentException instead of a null return value.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ContributionManager.java
*   if it is up-to-date
 */
protected void setDirty(boolean d) {
	isDirty = d;
}
/**
 * Sets the overrides for this contribution manager
 * 
 * @param newOverrides the overrides for the items of this manager
 * @since 2.0
 */
public void setOverrides(IContributionManagerOverrides newOverrides) {
	overrides = newOverrides;
}
/**
 * An internal method for setting the order of the contribution items.
 * 
 * @param items the contribution items in the specified order
 * @since 3.0
 */
protected void internalSetItems(IContributionItem[] items) {
	contributions.clear();
	for (int i=0; i < items.length; i++) {
	    if (allowItem(items[i])) {
	        contributions.add(items[i]);
	    }
	}
}
}