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
System.out.print(context);
			System.out.println();
		}
		Object[] filtered = filter(undoList, context);
		for (int i = 0; i < filtered.length; i++) {
			IUndoableOperation operation = (IUndoableOperation) filtered[i];
			if (context == GLOBAL_UNDO_CONTEXT
					|| operation.getContexts().length == 1) {
				
				
				undoList.remove(operation);
				internalRemove(operation);
			} else {
				
				operation.removeContext(context);
			}
		}
		/*
		 * There may be an open composite. If it has this context, then the
		 * context must be removed. If it has only this context or we are
		 * flushing all operations, then null it out and notify that we are
		 * ending it. We don't remove it since it was never added.
		 */
		ICompositeOperation endedComposite = null;
		synchronized (openCompositeLock) {
			if (openComposite != null) {
				if (openComposite.hasContext(context)) {
					if (context == GLOBAL_UNDO_CONTEXT
							|| openComposite.getContexts().length == 1) {
						endedComposite = openComposite;