KT-3715 make Collection.notEmpty a property

Renamed "notEmpty()" methods to "isNotEmpty()" in following classes:
    - Collection
    - String
    - Array

Added "notEmpty" property to Collection class
This commit is contained in:
Mohammad Shamsi
2013-08-19 01:20:56 +08:00
parent 8c952ebfdb
commit 5584e6ce18
10 changed files with 18 additions and 14 deletions
@@ -150,7 +150,7 @@ import js.noImpl
}
val fields = klass.getDeclaredFields()
if (fields != null) {
if (fields.notEmpty()) {
if (fields.isNotEmpty()) {
println("")
println(" public class object {")
for (field in fields) {