diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-04 23:54:19 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-04 23:54:19 +0100 |
commit | 726751c145b33f82e024787fa7aafcc861712712 (patch) | |
tree | 32520942c0ae656469fa1c3d38b5eaf371146635 /src/main/kotlin/pl/treksoft/kvision/table | |
parent | d2b955c9d976e0dca830de9063a78b559a2acac7 (diff) | |
download | kvision-726751c145b33f82e024787fa7aafcc861712712.tar.gz kvision-726751c145b33f82e024787fa7aafcc861712712.tar.bz2 kvision-726751c145b33f82e024787fa7aafcc861712712.zip |
Style fixes.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/table')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Cell.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Row.kt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt b/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt index ea59ed81..8ea26327 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt @@ -26,6 +26,7 @@ open class Cell( ) : Tag(TAG.TD, text, rich, align, classes) { init { + @Suppress("LeakingThis") init?.invoke(this) } diff --git a/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt b/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt index 26ea24d2..d6ab2c18 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt @@ -26,6 +26,7 @@ open class HeaderCell( ) : Tag(TAG.TH, text, rich, align, classes) { init { + @Suppress("LeakingThis") init?.invoke(this) } diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Row.kt b/src/main/kotlin/pl/treksoft/kvision/table/Row.kt index d408f699..a2b23ff7 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Row.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Row.kt @@ -18,6 +18,7 @@ open class Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null) : ) { init { + @Suppress("LeakingThis") init?.invoke(this) } |