Commit da633b0d authored by Marco Konersmann's avatar Marco Konersmann

Removes unnecessary code

parent 772af72d
......@@ -108,14 +108,8 @@ public abstract class ReferenceMechanismTransformation<OWNERECLASS extends EObje
if (t == null)
continue;
if (idRegistry.knowsImplementationModelElement(target)) {
String priorID = idRegistry.getIDFromImplementationModelElement(target);
EObject oldElement = priorIDRegistry.resolveImplementationModelElement(priorID,
EcoreUtil.getRootContainer(modelElement));
if (oldElement != null)
t.setPriorModelElement(oldElement);
}
t.setModelElement(target);
// PriorModelElement will be set by AbstractModelCodeTransformation
result.add(t);
} catch (Throwable t) {
addError("Could not create target transformation.", t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment