Make 'add' function abstract in AbstractMutableSet in JVM

This commit is contained in:
Ilya Gorbunov
2017-01-17 02:21:42 +03:00
parent b6443eed9e
commit ed9b9d972c
2 changed files with 2 additions and 2 deletions
@@ -5,6 +5,5 @@ import java.util.AbstractSet
@SinceKotlin("1.1")
public abstract class AbstractMutableSet<E> protected constructor() : MutableSet<E>, AbstractSet<E>() {
// nothing to make abstract
// it's a class rather than typealias in order to have bridge for `size` generated and nice non-platform types in methods
abstract override fun add(element: E): Boolean
}