aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl
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 /src/main/kotlin/pl
parentcd5885383ac25750bfcf11d19f9bed34d7a4c7f5 (diff)
downloadkvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.gz
kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.tar.bz2
kvision-378b2437bf95e0e01462b702a26bebe7d6a3b185.zip
Suppress style warnings.
Diffstat (limited to 'src/main/kotlin/pl')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt1
1 files changed, 1 insertions, 0 deletions
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