Revert 'isEmpty' transformation

This commit is contained in:
Denis Zharkov
2015-10-13 20:49:31 +03:00
committed by Mikhail Glukhikh
parent 17c906658d
commit 6322198a11
71 changed files with 127 additions and 156 deletions
@@ -229,7 +229,7 @@ fun specialJVM(): List<GenericFunction> {
"""
return object : AbstractList<T>(), RandomAccess {
override val size: Int get() = this@asList.size()
override val isEmpty: Boolean get() = this@asList.isEmpty()
override fun isEmpty(): Boolean = this@asList.isEmpty()
override fun contains(o: T): Boolean = this@asList.contains(o)
override fun iterator(): MutableIterator<T> = this@asList.iterator() as MutableIterator<T>
override fun get(index: Int): T = this@asList[index]