String defaultName = graph.getRelatedValue(indexRoot, MOD.StructuralModel_HasDefaultComponentTypeName, Bindings.STRING);
String name = NameUtils.findFreshName(graph, defaultName, library);
graph.claimLiteral(componentType, L0.HasName, name + "@1");
- graph.claimLiteral(componentType, L0X.HasGeneratedNamePrefix, "");
+ // #7457: replaced by assertion in STR.ComponentType
+ //graph.claimLiteral(componentType, L0X.HasGeneratedNamePrefix, "");
// Substructure
Resource substructureType = graph.getSingleObject(indexRoot, MOD.StructuralModel_HasComponentTypeSubstructureType);