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