addElements(oldDef, newDef, org.jbpm.ui.common.model.Swimlane.class, "swimlane");
List<Variable> oldVariables = oldDef.getChildren(Variable.class);
for (Variable oldVariable : oldVariables) {
Variable newVariable = new Variable(oldVariable.getName(), oldVariable.getFormat(), oldVariable.isPublicVisibility());
newDef.addChild(newVariable);
}
log.append(" ---");
return newDef;
} finally {