Skip to content

Commit 74a6b71

Browse files
committed
Removes the deleting of the created entity in the Instatiator as the same resource should point to the same entity as well.
This should reduce the amount of iterations for the whole code as well.
1 parent 1a31c7b commit 74a6b71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/metamodel/loader/instantiator/ComplexTypeInstantiator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ public T apply( final Resource resource ) {
8585

8686
extending.addAll( getExtending( resource ) );
8787

88-
creatingElements.remove( resource );
89-
9088
return entity;
9189
}
9290

0 commit comments

Comments
 (0)