From ce1e83945d80c2c08e0be4ef036277e14abbe7d3 Mon Sep 17 00:00:00 2001 From: Pavel Punegov <32519625+PavelPunegov@users.noreply.github.com> Date: Thu, 21 Feb 2019 17:51:10 +0300 Subject: [PATCH] Remove Deprecation annotation for ThreadLocal and SharedImmutable. kotlin.native package is imported by default and hence annotations used mostly without import. --- runtime/src/main/kotlin/kotlin/native/Annotations.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/runtime/src/main/kotlin/kotlin/native/Annotations.kt b/runtime/src/main/kotlin/kotlin/native/Annotations.kt index eb89c913b5d..c68d2de147e 100644 --- a/runtime/src/main/kotlin/kotlin/native/Annotations.kt +++ b/runtime/src/main/kotlin/kotlin/native/Annotations.kt @@ -40,14 +40,8 @@ public annotation class Retain @Retention(AnnotationRetention.SOURCE) public annotation class Throws(vararg val exceptionClasses: KClass) -@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 /**