Java to Kotlin converter: added auto-conversion run of Kotlin analyzer. Implemented first fix with it - redundant !! removal

This commit is contained in:
Valentin Kipyatkov
2014-07-10 15:05:54 +04:00
parent 69a5b79342
commit acc58173da
11 changed files with 107 additions and 13 deletions
@@ -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()
}
}