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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user