BAEL-586 no need for else block

This commit is contained in:
Tomasz Lelek 2017-01-14 19:27:43 +01:00
parent 79d13928e5
commit fde39503a3
1 changed files with 0 additions and 3 deletions

View File

@ -61,9 +61,6 @@ fun main(args: Array<String>) {
when (name) {
"John" -> println("Hi man")
"Alice" -> println("Hi lady")
else -> {
println("Hi")
}
}
}