Get rid of deprecated annotations in testData
This commit is contained in:
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
class E1: Exception()
|
||||
|
||||
Throws(E1::class) JvmOverloads
|
||||
@Throws(E1::class) @JvmOverloads
|
||||
fun one(a: Int = 1) {}
|
||||
|
||||
class One @Throws(E1::class) constructor(a: Int = 1) {
|
||||
|
||||
+3
-3
@@ -7,14 +7,14 @@ class A {
|
||||
companion object {
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic fun test1() {
|
||||
@platformStatic fun test1() {
|
||||
b
|
||||
test2()
|
||||
test3()
|
||||
"".test4()
|
||||
}
|
||||
|
||||
platformStatic fun test2() {
|
||||
@platformStatic fun test2() {
|
||||
b
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ class A {
|
||||
|
||||
}
|
||||
|
||||
platformStatic fun String.test4() {
|
||||
@platformStatic fun String.test4() {
|
||||
b
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,14 +6,14 @@ object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic fun test1() {
|
||||
@platformStatic fun test1() {
|
||||
b
|
||||
test2()
|
||||
test3()
|
||||
"".test4()
|
||||
}
|
||||
|
||||
platformStatic fun test2() {
|
||||
@platformStatic fun test2() {
|
||||
b
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ object A {
|
||||
|
||||
}
|
||||
|
||||
platformStatic fun String.test4() {
|
||||
@platformStatic fun String.test4() {
|
||||
b
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user