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