Java to Kotlin converter: better formatting preserving from original code
#KT-4801 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user