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

YELLOW: Fixed compilation error

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

Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 66de63cc
PartitionChannelConverter.java 3d0da97f5b3da87428e7fca1c4b62d08a4435832 GREEN
PartitionChannelConverter.java 7ffd1515a4e1151ec7a10e967c7fec8efa90fa7d YELLOW
PartitionConverter.java 9e9861618e29cf0cbdcdbaae881ccca2538b1458 GREEN
PartitionToExecutionUnitConverter.java e2b73759498f72277378cfaf1f37a3357742a671 GREEN
TaskToPartitionConverter.java f71db1ef5488d48ef5e38b0e7c82bdff92d1d269 GREEN
......@@ -92,13 +92,15 @@ public class PartitionChannelConverter
// Only create channels for interpartition communication.
if(senderPartition != targetPartition) {
TaskOutputPort senderPort = signal.getSourceTaskPort();
@SuppressWarnings("unchecked") Class<? extends IPortSemantics> portSematic =
(Class<? extends IPortSemantics>)senderPort.getClass();
PartitionOutputPort senderPartitionPort = createPartitionOutputPort(
"Part_" + senderPort.getName(), (IPortSemantics)senderPort);
"Part_" + senderPort.getName(), portSematic);
senderPartition.getConnectors().add(senderPartitionPort);
PartitionInputPort targetPartitionPort = createPartitionInputPort(
"Part_" + targetInputPort.getName(), (IPortSemantics)senderPort);
"Part_" + targetInputPort.getName(), portSematic);
targetPartition.getConnectors().add(targetPartitionPort);
PartitionChannel partitionChannel =
......
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