From 05aa68315cbb475b6d205a54061495c5dc749e67 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 11 Apr 2019 16:51:47 +0200 Subject: Suppress warnings. --- .../src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt | 1 + .../src/main/kotlin/pl/treksoft/kvision/remote/KVWebSocketConfig.kt | 1 + 2 files changed, 2 insertions(+) (limited to 'kvision-modules/kvision-server-spring-boot/src') diff --git a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 0606afef..af185f19 100644 --- a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -46,6 +46,7 @@ import kotlin.reflect.KClass * Multiplatform service manager for Spring Boot. */ @UseExperimental(ExperimentalCoroutinesApi::class) +@Suppress("LargeClass") actual open class KVServiceManager actual constructor(val serviceClass: KClass) { companion object { diff --git a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVWebSocketConfig.kt b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVWebSocketConfig.kt index 7bc2e612..17c897ef 100644 --- a/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVWebSocketConfig.kt +++ b/kvision-modules/kvision-server-spring-boot/src/main/kotlin/pl/treksoft/kvision/remote/KVWebSocketConfig.kt @@ -184,6 +184,7 @@ internal open class KvWebSocketHandler( } } +@Suppress("TooManyFunctions") open class DummyWebSocketSession : WebSocketSession { override fun getBinaryMessageSizeLimit(): Int { return 0 -- cgit