Cleanup deprecated symbol usages in testData
This commit is contained in:
+2
-2
@@ -6,14 +6,14 @@ fun foo(p: Any, p1: Any?) {
|
||||
/* STATEMENT DELETED: z(f() as String) */
|
||||
|
||||
if (a) {
|
||||
print((p as String).length())
|
||||
print((p as String).length)
|
||||
}
|
||||
else {
|
||||
print((p as String).get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
/* STATEMENT DELETED: p1 as String */
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@ fun foo(p: Any, p1: Any?) {
|
||||
/* STATEMENT DELETED: z(f() as String) */
|
||||
|
||||
if (a) {
|
||||
print((p as String).length())
|
||||
print((p as String).length)
|
||||
}
|
||||
else {
|
||||
print((p as String).get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
/* STATEMENT DELETED: p1 as String */
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -4,14 +4,14 @@ fun foo(p: Any, p1: Any?) {
|
||||
z(f() as String)
|
||||
|
||||
if (a) {
|
||||
print((p as String).length())
|
||||
print((p as String).length)
|
||||
}
|
||||
else {
|
||||
print((p as String).get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
p1 as String
|
||||
}
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@ fun foo(p: String?, p1: Any?) {
|
||||
/* STATEMENT DELETED: y(f()!!) */
|
||||
|
||||
if (a) {
|
||||
print(p!!.length())
|
||||
print(p!!.length)
|
||||
}
|
||||
else {
|
||||
print(p!!.get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
/* STATEMENT DELETED: p1!! */
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -5,14 +5,14 @@ fun foo(p: String?, p1: Any?) {
|
||||
/* STATEMENT DELETED: y(f()!!) */
|
||||
|
||||
if (a) {
|
||||
print(p!!.length())
|
||||
print(p!!.length)
|
||||
}
|
||||
else {
|
||||
print(p!!.get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
/* STATEMENT DELETED: p1!! */
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -3,14 +3,14 @@ fun foo(p: String?, p1: Any?) {
|
||||
y(f()!!)
|
||||
|
||||
if (a) {
|
||||
print(p!!.length())
|
||||
print(p!!.length)
|
||||
}
|
||||
else {
|
||||
print(p!!.get(1))
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.charAt(1))
|
||||
print(<caret>p[1])
|
||||
p1!!
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package testing
|
||||
annotation class Annotation<T>(val clazz: Class<T>)
|
||||
class ATest
|
||||
|
||||
@[Annotation<<caret>ATest>(javaClass<ATest>())]
|
||||
@[Annotation<<caret>ATest>(ATest::class.java)]
|
||||
class BTest
|
||||
|
||||
// REF: (testing).ATest
|
||||
Reference in New Issue
Block a user