Get rid of deprecated annotations and modifiers in project code

This commit is contained in:
Denis Zharkov
2015-09-14 16:26:59 +03:00
parent 02aafe4262
commit 9c4564a5a6
204 changed files with 485 additions and 439 deletions
@@ -19,6 +19,6 @@ package kotlin.jvm.internal
public abstract class Lambda(private val arity: Int) : FunctionImpl() {
override fun getArity() = arity
@suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
@Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
override fun toString() = "${(this as Object).getClass().getGenericInterfaces()[0]}"
}
@@ -21,7 +21,7 @@ private abstract class PrimitiveSpreadBuilder<T : Any>(private val size: Int) {
protected var position: Int = 0
@suppress("CAST_NEVER_SUCCEEDS")
@Suppress("CAST_NEVER_SUCCEEDS")
private val spreads: Array<T?> = arrayOfNulls<Any>(size) as Array<T?>
public fun addSpread(spreadArgument: T) {