aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-01-23 11:04:04 +0100
committerRobert Jaros <rjaros@finn.pl>2019-01-23 11:04:04 +0100
commit378b2437bf95e0e01462b702a26bebe7d6a3b185 (patch)
tree45566069590c0b3baa1c3d6ed1c4cce9ee1a9c17 /kvision-modules
parentcd5885383ac25750bfcf11d19f9bed34d7a4c7f5 (diff)
downloadkvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.gz
kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.bz2
kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.zip
Suppress style warnings.
Diffstat (limited to 'kvision-modules')
-rw-r--r--kvision-modules/kvision-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectOption.kt1
-rw-r--r--kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt1
2 files changed, 2 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 {