Remove Deprecation annotation for ThreadLocal and SharedImmutable.

kotlin.native package is imported by default and hence annotations used mostly without import.
This commit is contained in:
Pavel Punegov
2019-02-21 17:51:10 +03:00
committed by Pavel Punegov
parent 4d6614e674
commit ce1e83945d
@@ -40,14 +40,8 @@ public annotation class Retain
@Retention(AnnotationRetention.SOURCE)
public annotation class Throws(vararg val exceptionClasses: KClass<out Throwable>)
@Deprecated("ThreadLocal was moved to kotlin.native.concurrent package " +
"and became available in Kotlin Common as optional annotation",
ReplaceWith("kotlin.native.concurrent.ThreadLocal"))
public typealias ThreadLocal = kotlin.native.concurrent.ThreadLocal
@Deprecated("SharedImmutable was moved to kotlin.native.concurrent package " +
"and became available in Kotlin Common as optional annotation",
ReplaceWith("kotlin.native.concurrent.SharedImmutable"))
public typealias SharedImmutable = kotlin.native.concurrent.SharedImmutable
/**