Java to Kotlin converter: replacing equals call to ==/!= and no redundant parethesis generation

#KT-4426 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-06 17:10:31 +04:00
parent d691abb1c4
commit 60d9e53e9f
41 changed files with 276 additions and 167 deletions
@@ -1,7 +1,7 @@
// !specifyLocalVariableTypeByDefault: true
fun foo(b: Boolean) {
val s: String? = ((if (b)
val s: String? = (if (b)
"abc"
else
null))
null)
}