Java to Kotlin converter: added auto-conversion run of Kotlin analyzer. Implemented first fix with it - redundant !! removal
This commit is contained in:
@@ -10,7 +10,7 @@ public class Test(str: String) {
|
||||
}
|
||||
|
||||
public fun sout(str: String) {
|
||||
System.out!!.println(str)
|
||||
System.out.println(str)
|
||||
}
|
||||
|
||||
public fun dummy(str: String): String {
|
||||
|
||||
@@ -17,6 +17,6 @@ class Test {
|
||||
barNotNull.fooNotNull.execute()
|
||||
barNotNull.fooNullable!!.execute()
|
||||
barNullable!!.fooNotNull.execute()
|
||||
barNullable!!.fooNullable!!.execute()
|
||||
barNullable.fooNullable!!.execute()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user