10 lines
189 B
Kotlin
Vendored
10 lines
189 B
Kotlin
Vendored
// "Replace 'if' expression with safe access expression" "true"
|
|
class Test {
|
|
var x: String? = ""
|
|
|
|
fun test() {
|
|
if (x != null) {
|
|
<caret>x.length
|
|
}
|
|
}
|
|
} |