diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-01-23 11:04:04 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-01-23 11:04:04 +0100 |
commit | 378b2437bf95e0e01462b702a26bebe7d6a3b185 (patch) | |
tree | 45566069590c0b3baa1c3d6ed1c4cce9ee1a9c17 | |
parent | cd5885383ac25750bfcf11d19f9bed34d7a4c7f5 (diff) | |
download | kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.gz kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.bz2 kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.zip |
Suppress style warnings.
3 files changed, 3 insertions, 0 deletions
diff --git a/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectOption.kt b/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectOption.kt index f51daafb..3977776b 100644 --- a/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectOption.kt +++ b/kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectOption.kt @@ -80,6 +80,7 @@ open class SelectOption( } } + @Suppress("ComplexMethod") override fun getSnAttrs(): List<StringPair> { val sn = super.getSnAttrs().toMutableList() if (!divider) { diff --git a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 8035cd49..a9b132c5 100644 --- a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -37,6 +37,7 @@ import kotlin.reflect.KClass /** * Multiplatform service manager for Jooby. */ +@Suppress("LargeClass") actual open class KVServiceManager<T : Any> actual constructor(val serviceClass: KClass<T>) : ServiceManager { companion object { diff --git a/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt b/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt index 3c808bca..69851b29 100644 --- a/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt +++ b/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt @@ -113,6 +113,7 @@ class DataContainer<M, C : Component, CONT : Container>( /** * Updates view from the current data model state. */ + @Suppress("ComplexMethod") override fun update() { model.forEach { if (it is DataComponent) it.container = this |