From 8d31df5fe16817220b592c0251f0ad8e547169a1 Mon Sep 17 00:00:00 2001 From: Matthew Nesbit Date: Thu, 7 Jul 2016 14:03:08 +0100 Subject: [PATCH] Remove @Suppress now we use standard Kotlin Int --- .../kotlin/com/r3corda/demos/protocols/ExitServerProtocol.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/r3corda/demos/protocols/ExitServerProtocol.kt b/src/main/kotlin/com/r3corda/demos/protocols/ExitServerProtocol.kt index 9b5ff0799c..5258e3dead 100644 --- a/src/main/kotlin/com/r3corda/demos/protocols/ExitServerProtocol.kt +++ b/src/main/kotlin/com/r3corda/demos/protocols/ExitServerProtocol.kt @@ -37,7 +37,7 @@ object ExitServerProtocol { * This takes a Java Integer rather than Kotlin Int as that is what we end up with in the calling map and currently * we do not support coercing numeric types in the reflective search for matching constructors */ - class Broadcast(@Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN") val exitCode: Int) : ProtocolLogic() { + class Broadcast(val exitCode: Int) : ProtocolLogic() { override val topic: String get() = TOPIC