Get rid of deprecated annotations and modifiers in project code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user