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