Closed josealfonsomora closed 3 years ago
🔑 From Kotlin code convention: https://kotlinlang.org/docs/reference/control-flow.html
var max = a if (a < b) max = b // With else var max: Int if (a > b) { max = a } else { max = b } // As expression val max = if (a > b) a else b
There are a few places where the curly braces are omitted
can I resolve this issue?
This is a coding style decision and this contribution is not affecting the code readability in an objective way. Thanks for your suggestion.
🔑 From Kotlin code convention: https://kotlinlang.org/docs/reference/control-flow.html
There are a few places where the curly braces are omitted