Closed MoonBow-1 closed 6 months ago
Changed from:
final int storageID = target.send(this.flow, token);
to:
final StorageFlow storageFlow = new StorageFlow(
target.type,
this.flow,
target.name
);
final int storageID = storageFlow.send(token);
The send method is now removed from TargetEnum
Changes approved
Description
TargetEnum shouldn't create a StorageFlow inside the send method and call the StorageFlow's send method after it.