mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
Fix docs build by replacing an expression which crashes Dokka with an older more verbose notation.
This commit is contained in:
parent
4bd38d381a
commit
53e8fe23d7
@ -104,7 +104,9 @@ fun main(args: Array<String>) {
|
||||
println("Unable to load the configuration file: ${e.rootCause.message}")
|
||||
exitProcess(2)
|
||||
}
|
||||
SerialFilter.install(if (conf.bftReplicaId != null) ::bftSMaRtSerialFilter else ::defaultSerialFilter)
|
||||
// TODO: Replace with "::funcName" notation when Dokka is upgraded to not crash when analysing the notation
|
||||
val filterFunc = if (conf.bftReplicaId != null) { it: Class<*> -> bftSMaRtSerialFilter(it) } else { it: Class<*> -> defaultSerialFilter(it) }
|
||||
SerialFilter.install(filterFunc)
|
||||
if (cmdlineOptions.isRegistration) {
|
||||
println()
|
||||
println("******************************************************************")
|
||||
|
Loading…
x
Reference in New Issue
Block a user