org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util
Class OperationsCanonizer
java.lang.Object
org.eclipse.emf.emfstore.internal.server.model.versioning.operations.util.OperationsCanonizer
public final class OperationsCanonizer
- extends Object
Canonizes a list of operations. Removes all operations that are not necessary
to achieve the same result when the list of operations is applied to a
project. Contract: project.apply(opList) = project.apply(cannonizedOpList)
- Author:
- koegel
canonize
public static void canonize(List<AbstractOperation> operations)
- Canonize the operation list.
- Parameters:
operations
- a list of operations (the list is order by creation time)
Copyright © 2015. All Rights Reserved.