node: use star projection instead of useless transform to hide type param

This commit is contained in:
Andras Slemmer
2016-06-09 16:29:03 +01:00
parent 5525487169
commit fe83e41f52

View File

@ -214,8 +214,8 @@ abstract class Simulation(val runAsync: Boolean,
} }
} }
val networkInitialisationFinished: ListenableFuture<Unit> = val networkInitialisationFinished: ListenableFuture<*> =
Futures.transform(Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture }), Function { }) Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture })
fun start(): ListenableFuture<Unit> { fun start(): ListenableFuture<Unit> {
network.startNodes() network.startNodes()