diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-01-28 14:01:59 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-01-28 14:01:59 +0100 |
commit | db611775f3fbf14c3860973795768a722d501d48 (patch) | |
tree | 14e9f03ce64bdfc230dbccc02b27025af1c30723 /src/main/kotlin/pl/treksoft/kvision/form | |
parent | 7a9f04ad13d8b9c961c6c1e3c3642fd10c1678bc (diff) | |
download | kvision-db611775f3fbf14c3860973795768a722d501d48.tar.gz kvision-db611775f3fbf14c3860973795768a722d501d48.tar.bz2 kvision-db611775f3fbf14c3860973795768a722d501d48.zip |
Style fixes
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/form')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt index 80654f93..f38429e3 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt @@ -131,7 +131,7 @@ open class SelectInput( } } else { val vs = v as String - if (KVNULL == vs || vs.length == 0) { + if (KVNULL == vs || vs.isEmpty()) { null } else { vs |