Remove unnecessary deprecation annotation
Private members on private companion objects have proper visibility so there is no need for the @Deprecated annotation. ^KT-54539 Fixed
This commit is contained in:
committed by
Alexander Udalov
parent
b42a7be0de
commit
9f3d8130db
@@ -16,6 +16,15 @@ class TestClass {
|
||||
}
|
||||
}
|
||||
|
||||
class TestClass2 {
|
||||
|
||||
private companion object {
|
||||
val testPublic: String = "1"
|
||||
private val testPrivate: String = "2"
|
||||
const val testPublicConst: String = "3"
|
||||
}
|
||||
}
|
||||
|
||||
interface TestConst {
|
||||
|
||||
private companion object {
|
||||
@@ -29,4 +38,4 @@ interface TestJvmField {
|
||||
@JvmField
|
||||
val test3: String = "3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user