mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
node: use star projection instead of useless transform to hide type param
This commit is contained in:
parent
5525487169
commit
fe83e41f52
@ -214,8 +214,8 @@ abstract class Simulation(val runAsync: Boolean,
|
||||
}
|
||||
}
|
||||
|
||||
val networkInitialisationFinished: ListenableFuture<Unit> =
|
||||
Futures.transform(Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture }), Function { })
|
||||
val networkInitialisationFinished: ListenableFuture<*> =
|
||||
Futures.allAsList(network.nodes.map { it.networkMapRegistrationFuture })
|
||||
|
||||
fun start(): ListenableFuture<Unit> {
|
||||
network.startNodes()
|
||||
@ -250,4 +250,4 @@ abstract class Simulation(val runAsync: Boolean,
|
||||
}
|
||||
next(0, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user