Replaced sure() invocations with '!!' operator in examples code.
This commit is contained in:
@@ -3,5 +3,5 @@ package hello
|
||||
public val KotlinHelloString : String = "Hello from Kotlin!"
|
||||
|
||||
public fun getHelloStringFromJava() : String {
|
||||
return JavaHello.JavaHelloString.sure();
|
||||
return JavaHello.JavaHelloString!!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user