diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-04-02 22:25:35 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-04-02 22:25:35 +0200 |
commit | f4d1f7386dd13fafefba64005f015e2e91140411 (patch) | |
tree | 3c43b95cc8c2fd15929ad9e4cfa658b6ccbc534c /kvision-modules/kvision-server-ktor/src/main/kotlin/pl | |
parent | f1f0423f63cc9f39fa74fc9b68bb680f1d1abd31 (diff) | |
download | kvision-f4d1f7386dd13fafefba64005f015e2e91140411.tar.gz kvision-f4d1f7386dd13fafefba64005f015e2e91140411.tar.bz2 kvision-f4d1f7386dd13fafefba64005f015e2e91140411.zip |
Style fixes and style warnings suppress.
Diffstat (limited to 'kvision-modules/kvision-server-ktor/src/main/kotlin/pl')
2 files changed, 2 insertions, 1 deletions
diff --git a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt index e2edc175..b0218b96 100644 --- a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt +++ b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt @@ -88,7 +88,7 @@ class WsSessionModule(private val webSocketSession: WebSocketServerSession) : } } -class DummyWsSessionModule() : AbstractModule() { +class DummyWsSessionModule : AbstractModule() { override fun configure() { bind(WebSocketServerSession::class.java).toInstance(DummyWebSocketServerSession()) } diff --git a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 0839a5c5..aca5d2f0 100644 --- a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -56,6 +56,7 @@ import kotlin.reflect.KClass * Multiplatform service manager for Ktor. */ @UseExperimental(ExperimentalCoroutinesApi::class) +@Suppress("LargeClass") actual open class KVServiceManager<T : Any> actual constructor(val serviceClass: KClass<T>) { companion object { |