Commit 0ffeccfb authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix(test) crashingSave

parent 752feaf4
......@@ -42,10 +42,10 @@ public class RemoveDanglingReferences {
public void execute() {
removeDanglingReferences(root);
removeSequenceFlowWithoutSourceAndTarget(root);
// removeSequenceFlowWithoutSourceAndTarget(root);
}
public void removeSequenceFlowWithoutSourceAndTarget(EObject element) {
private void removeSequenceFlowWithoutSourceAndTarget(EObject element) {
if (element.eResource() != null && element.eResource().getResourceSet() != null) {
final List<EObject> toRemove = new ArrayList<>();
element.eAllContents().forEachRemaining(eObject -> {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment