9 lines
138 B
Plaintext
Vendored
9 lines
138 B
Plaintext
Vendored
// "Surround with null check" "true"
|
|
|
|
fun foo(x: String?) {
|
|
if (x != null) {
|
|
bar(x)
|
|
}
|
|
}
|
|
|
|
fun bar(s: String) = s.hashCode() |