Skip to content

Commit a851e93

Browse files
committed
Fix hint form PR
1 parent a7ee8b1 commit a851e93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/instantiator/aspect-instantiator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class AspectInstantiator {
4545
const events = metaModelElementInstantiator.getEvents(aspectNode);
4646
const aspect = new DefaultAspect(null, null, null, properties, operations, events);
4747

48-
properties.forEach(property => (property as unknown as DefaultPropertyInstanceDefinition).addParent(aspect));
48+
properties.forEach(property => (property as DefaultPropertyInstanceDefinition).addParent(aspect));
4949
operations.forEach(operation => (operation as DefaultOperation).addParent(aspect));
5050
events.forEach(event => (event as DefaultEvent).addParent(aspect));
5151

src/shared/rdf-model-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class RdfModelUtil {
105105
static throwErrorIfUnsupportedVersion(rdfModel: RdfModel): void {
106106
if (rdfModel && KnownVersion.isVersionSupported(rdfModel.getMetaModelVersion()) === false) {
107107
throw Error(
108-
`Version ${rdfModel.getMetaModelVersion()} is not supported by this versions. Supported versions are: ${KnownVersion.getSupportedVersions().join()}`
108+
`SAMM ${rdfModel.getMetaModelVersion()} is not supported. Supported versions are: ${KnownVersion.getSupportedVersions().join()}`
109109
);
110110
}
111111
}

0 commit comments

Comments
 (0)