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
+1 -1
View File
@@ -1,7 +1,7 @@
class Outer(val foo: StringBuilder) {
inner class Inner() {
fun len() : Int {
return foo.length()
return foo.length
}
}
+2 -2
View File
@@ -4,8 +4,8 @@ fun box() : String {
val w = object : Comparator<String?> {
override fun compare(o1 : String?, o2 : String?) : Int {
val l1 : Int = o1?.length() ?: 0
val l2 = o2?.length() ?: 0
val l1 : Int = o1?.length ?: 0
val l2 = o2?.length ?: 0
return l1 - l2
}