Fixed API

This commit is contained in:
Luca Frosini 2020-11-03 16:33:48 +01:00
parent f40b563297
commit 1d74ee7905
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ public final class ContextImpl extends EntityElementImpl implements Context {
@Override @Override
public void addChild(IsParentOf isParentOf) { public void addChild(IsParentOf isParentOf) {
((ContextImpl) isParentOf.getTarget()).setParent(this); // ((ContextImpl) isParentOf.getTarget()).setParent(this);
isParentOf.setSource(this);
children.add(isParentOf); children.add(isParentOf);
} }