Bug 117601 [Undo] - update org.eclipse.core.commands.operations to use new equinox common utils
org.eclipse.core.commands.operations.DefaultOperationHistory - synchronizes its own listener list org.eclipse.core.commands.internal.util. - implements its own Assert. These should be updated to use the new support in org.eclipse.equinox.common
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
*/
					undoList.remove(removed);
					internalRemove(removed);
				} else {
					/*
					 * if the operation has multiple contexts and we've reached
					 * the limit for only one of them, then just remove the
					 * context, not the operation.
					 */
					removed.removeContext(context);
				}
				size--;
				index++;
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.commands.operations.IOperationHistory#getLimit()
	 */
	public int getLimit(IUndoContext context) {
		if (!limits.containsKey(context)) {
			return DEFAULT_LIMIT;
		}
		return ((Integer) (limits.get(context))).intValue();
	}
	/*
	 * Consult the IOperationApprovers to see if the proposed redo should be
	 * allowed.