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