Skip to content

Commit

Permalink
Use remove instead of delete operation when removing elements
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoKlare committed Aug 1, 2022
1 parent face466 commit c975ab0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ abstract class AbstractRoutine extends CallHierarchyHaving implements Routine {
if (logger.debugEnabled) {
logger.debug("Removing object " + element + " from container " + element.eContainer())
}
EcoreUtil.delete(element)
EcoreUtil.remove(element)
}

protected def void removeCorrespondenceBetween(EObject firstElement, EObject secondElement) {
Expand Down

0 comments on commit c975ab0

Please sign in to comment.