NonNull annotation on fields makes type non-null
This commit is contained in:
committed by
Pavel V. Talanov
parent
6576eb8ce3
commit
1874714d84
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
public open class Test(str : String) {
|
||||
var myStr : String? = "String2"
|
||||
var myStr : String = "String2"
|
||||
public open fun sout(str : String) : Unit {
|
||||
System.out?.println(str)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user