Commit f5dd3d23 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

DSE-SolConv: Swap decomposition order of templates

Issue-Ref: 3825
Issue-Url: https://af3-developer.fortiss.org/issues/3825

Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 3f1da66f
PlatformConnectorInstanceConverter.java 65b5b5fdb6d6ae557a82880a8d7144d857670d7e GREEN
PlatformExecUnitInstantiationConverter.java 56f613cdb0ccce5ee61dbb47e6b7d03d24c2eeaf GREEN
PlatformExecUnitInstantiationConverter.java 907696be68cbc3a9f118c4bfd3ca1159d5cb9c59 YELLOW
PlatformTransmissionConnectionConverter.java a9fd9797b9a3a781b7b4ada122fd23493f415044 GREEN
......@@ -104,8 +104,8 @@ public class PlatformExecUnitInstantiationConverter
// Remove all template elements and, by that, unconnected connectors.
for(ExecutionUnit template : templateExecUnits) {
Collection<IConnector> neighbors = getNeighborConnectors(template);
ecs.decompose(template);
neighbors.stream().filter(c -> !hasConnections(c)).forEach(c -> ecs.decompose(c));
ecs.decompose(template);
}
return outPlatArch;
......
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