mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
node: use star projection instead of useless transform to hide type param
This commit is contained in:
@ -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()
|
||||||
@ -250,4 +250,4 @@ abstract class Simulation(val runAsync: Boolean,
|
|||||||
}
|
}
|
||||||
next(0, 1)
|
next(0, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user