mirror of
https://github.com/corda/corda.git
synced 2025-06-18 07:08:15 +00:00
Minor: suppress bogus "cast never succeeds" compiler warning in whitelist manager unit test
This commit is contained in:
@ -13,6 +13,8 @@ import kotlin.test.assertEquals
|
|||||||
import kotlin.test.assertFailsWith
|
import kotlin.test.assertFailsWith
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
|
// We cast null to things in order to select overloads here but Kotlin doesn't know that it's OK.
|
||||||
|
@Suppress("CAST_NEVER_SUCCEEDS")
|
||||||
class WhitelistTrustManagerTest {
|
class WhitelistTrustManagerTest {
|
||||||
companion object {
|
companion object {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
|
Reference in New Issue
Block a user