Closed hhandoko closed 7 years ago
CommandLine.kt currently contains nested if statements and early returns which could easily be refactored to Kotlin's when for better readability.
CommandLine.kt
if
when
Refactore nested if and early return in CommandLine.kt.
Implemented in #53.
Context
CommandLine.kt
currently contains nestedif
statements and early returns which could easily be refactored to Kotlin'swhen
for better readability.Definition of Done
Refactore nested
if
and early return inCommandLine.kt
.