Remove superflous ownerId fields in interpreter Connection #22447

This commit is contained in:
Johan Andrén 2017-03-10 19:08:08 +01:00 committed by Konrad `ktoso` Malawski
parent 205a538df3
commit 5ea2e0536c
3 changed files with 10 additions and 24 deletions

View file

@ -110,11 +110,9 @@ object GraphInterpreterSpecKit {
val connection = new Connection(
id = idx,
outOwnerId = outOwner.stageId,
outOwner = outOwner,
outHandler = outOwner.outHandler(0),
inOwner = inOwner,
inOwnerId = inOwner.stageId,
inHandler = inOwner.inHandler(0)
)
@ -143,10 +141,8 @@ object GraphInterpreterSpecKit {
val connection = new Connection(
id = idx,
outOwnerId = outOwner.stageId,
outOwner = outOwner,
outHandler = outOwner.outHandler(outlet.id),
inOwnerId = inOwner.stageId,
inOwner = inOwner,
inHandler = inOwner.inHandler(inlet.id)
)