mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
Refactoring related to BFT state persistence/transfer (#829)
* Remove unused type param * If we drop Runnable we can use conciser syntax * Sometimes we need the fully-fledged object, so retire separate handle class * Implement IntelliJ suggestion
This commit is contained in:
@ -243,7 +243,7 @@ class MockNetwork(private val networkSendManuallyPumped: Boolean = false,
|
||||
}
|
||||
|
||||
fun manuallyCloseDB() {
|
||||
dbCloser?.run()
|
||||
dbCloser?.invoke()
|
||||
dbCloser = null
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user