mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
Fix and or suppress detekt warnings
This commit is contained in:
committed by
LankyDan
parent
48aa2f2faa
commit
119f939ee1
@ -266,6 +266,7 @@ class InitiatorFlow(val arg1: Boolean, val arg2: Int, private val counterparty:
|
||||
val ourOutputState: DummyState = DummyState()
|
||||
// DOCEND 22
|
||||
// Or as copies of other states with some properties changed.
|
||||
@Suppress("MagicNumber") // literally a magic number
|
||||
// DOCSTART 23
|
||||
val ourOtherOutputState: DummyState = ourOutputState.copy(magicNumber = 77)
|
||||
// DOCEND 23
|
||||
|
Reference in New Issue
Block a user