Adjust testData to CharSequence.length transformation

This commit is contained in:
Denis Zharkov
2015-10-12 20:29:01 +03:00
committed by Mikhail Glukhikh
parent cb562e7ea5
commit f0e3fd617d
348 changed files with 524 additions and 540 deletions
+2 -2
View File
@@ -20,11 +20,11 @@ fun foo() {
}
fun unnecessarySafeCall(x: String) {
x?.length()
x?.length
}
fun unnecessaryExclExcl(x: String) {
x!!.length()
x!!.length
}
fun unnecessaryCast(x: String) = x as String
+2 -2
View File
@@ -19,11 +19,11 @@ fun foo() {
}
fun unnecessarySafeCall(x: String) {
x.length()
x.length
}
fun unnecessaryExclExcl(x: String) {
x.length()
x.length
}
fun unnecessaryCast(x: String) = x