Adjust testData to CharSequence.length transformation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb562e7ea5
commit
f0e3fd617d
+1
-1
@@ -2,5 +2,5 @@ fun foo(p: List<String?>): Int {
|
||||
val v = p[0]
|
||||
// now check if v is null
|
||||
<caret>if (v == null/* null */) return -1 // return -1
|
||||
return v.length()
|
||||
return v.length
|
||||
}
|
||||
Reference in New Issue
Block a user