Java to Kotlin converter: better formatting preserving from original code

#KT-4801 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-09 19:14:45 +04:00
parent 2d4d5e2a34
commit 30ac2bacde
39 changed files with 143 additions and 116 deletions
@@ -1,7 +1,4 @@
// !specifyLocalVariableTypeByDefault: true
fun foo(b: Boolean) {
val s: String? = (if (b)
"abc"
else
null)
val s: String? = (if (b) "abc" else null)
}