Java to Kotlin converter: even more smartness about nullability
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class C() {
|
||||
private var s: String? = ""
|
||||
|
||||
fun foo() {
|
||||
if (s == null) {
|
||||
System.out.print("null")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user