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
@@ -1,6 +1,6 @@
abstract class C : Test.A, List<String> {
override val size: Int get() = null!!
override val isEmpty: Boolean get() = null!!
override fun isEmpty(): Boolean = null!!
override fun contains(o: String): Boolean = null!!
override fun iterator(): Iterator<String> = null!!
override fun containsAll(c: Collection<String>): Boolean = null!!
@@ -58,7 +58,7 @@ open class KList<E> : MutableList<E> {
override val size: Int
get() = throw UnsupportedOperationException()
override val isEmpty: Boolean get() {
override fun isEmpty(): Boolean {
throw UnsupportedOperationException()
}
@@ -1,8 +1,7 @@
open class A : MutableList<Int> {
override val size: Int
get() = throw UnsupportedOperationException()
override val isEmpty: Boolean
get() = throw UnsupportedOperationException()
override fun isEmpty(): Boolean = throw UnsupportedOperationException()
override fun contains(o: Int): Boolean {
throw UnsupportedOperationException()
@@ -2,7 +2,7 @@ open class KList : MutableList<String> {
override val size: Int
get() = throw UnsupportedOperationException()
override val isEmpty: Boolean get() {
override fun isEmpty(): Boolean {
throw UnsupportedOperationException()
}