GraphToDiagramSynchronizer.SubstituteElementClassImpl can safely ignore
ElementClass validation checks which speeds loading up a bit for very
large diagrams.
gitlab #90
Change-Id: I2aa561cbad8de034362a4a298272d3faa8242537
(cherry picked from commit
bb2be932187c70082a01e12e1f451dd06650a48c)
else
result.add(eh);
}
- return ElementClass.compile(result).setId(ec.getId());
+ return ElementClass.compile(result, false).setId(ec.getId());
}
}
*/
public static ElementClass compile(Collection<ElementHandler> contributions)
{
- assertClassValid(contributions);
return new ElementClass(contributions);
}
public static ElementClass compile(Collection<ElementHandler> contributions, boolean check)
{
- if(check) assertClassValid(contributions);
return new ElementClass(contributions, check);
}