From 0c35c53941811f5e574fbdd9187cde97b0486002 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 5 May 2018 22:42:24 +0200 Subject: Suppress some warnings. --- src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt') diff --git a/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt b/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt index 151f84a2..b0d74ece 100644 --- a/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt +++ b/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt @@ -331,7 +331,7 @@ open class RemoteAgent(val serviceManager: ServiceManager) { * @suppress * Internal function */ - @Suppress("TooGenericExceptionCaught") + @Suppress("TooGenericExceptionCaught", "NestedBlockDepth") inline fun serialize(value: PAR, serializer: KSerializer?): String? { return value?.let { if (serializer != null) { -- cgit