Skip to content
Snippets Groups Projects
Commit de8f2ca1 authored by Simon Spinner's avatar Simon Spinner
Browse files

Fix bug causing redundant assembly contexts on subsystem level.

parent 9e9fe960
No related branches found
No related tags found
No related merge requests found
...@@ -550,7 +550,7 @@ public class ModelExtractionService extends AgentController implements Service<M ...@@ -550,7 +550,7 @@ public class ModelExtractionService extends AgentController implements Service<M
// 7. Now create the assembly contexts // 7. Now create the assembly contexts
AssemblyContext callerContext = addAssemblyContext(skeleton.getSystem(), incomingCrec, callerComponent); AssemblyContext callerContext = addAssemblyContext(skeleton.getSystem(), incomingCrec, callerComponent);
if (calledComponent != null) { if (calledComponent != null && differentModule) {
AssemblyContext calledContext = addAssemblyContext(skeleton.getSystem(), outgoingCrec, calledComponent); AssemblyContext calledContext = addAssemblyContext(skeleton.getSystem(), outgoingCrec, calledComponent);
AssemblyConnector connector = RepositoryFactory.eINSTANCE.createAssemblyConnector(); AssemblyConnector connector = RepositoryFactory.eINSTANCE.createAssemblyConnector();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment