From fe83e41f5284b164604082724ba1ea25e1dee3f5 Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Thu, 9 Jun 2016 16:29:03 +0100 Subject: [PATCH] node: use star projection instead of useless transform to hide type param --- .../kotlin/com/r3corda/node/internal/testing/Simulation.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/src/main/kotlin/com/r3corda/node/internal/testing/Simulation.kt b/node/src/main/kotlin/com/r3corda/node/internal/testing/Simulation.kt index a91a1e159e..9168d1728d 100644 --- a/node/src/main/kotlin/com/r3corda/node/internal/testing/Simulation.kt +++ b/node/src/main/kotlin/com/r3corda/node/internal/testing/Simulation.kt @@ -214,8 +214,8 @@ abstract class Simulation(val runAsync: Boolean, } } - val networkInitialisationFinished: ListenableFuture = - Futures.transform(Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture }), Function { }) + val networkInitialisationFinished: ListenableFuture<*> = + Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture }) fun start(): ListenableFuture { network.startNodes() @@ -250,4 +250,4 @@ abstract class Simulation(val runAsync: Boolean, } next(0, 1) } -} \ No newline at end of file +}