Commit 98870b3d authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix npe

parent e74ce059
......@@ -696,7 +696,6 @@ public class ActivitySwitchEditPolicy extends AbstractSingleSelectionEditPolicy
private boolean hasOutgoingConnection(){
final EditPart host = getHost();
final EObject element = ((IGraphicalEditPart)host).resolveSemanticElement();
final List<Connection> connections = ModelHelper.getParentProcess(element).getConnections();
for (final Connection connection : connections){
final EObject source = connection.getSource();
Supports Markdown
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