Clean size/length/first/head/empty properties and functions.

This commit is contained in:
Ilya Ryzhenkov
2014-11-14 17:30:13 +03:00
parent 828ba385ea
commit fa0542b801
42 changed files with 498 additions and 457 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ public var Element.classSet: MutableSet<String>
val answer = LinkedHashSet<String>()
val array = this.classes.split("""\s""")
for (s in array) {
if (s.size > 0) {
if (s.length() > 0) {
answer.add(s)
}
}