J2K: updating generated enums to modern syntax

This commit is contained in:
Valentin Kipyatkov
2015-05-27 14:11:53 +03:00
parent f89cff8b78
commit bb0b3fcd0c
15 changed files with 53 additions and 41 deletions
@@ -1,9 +1,9 @@
enum class Color : Runnable {
WHITE
BLACK
RED
YELLOW
BLUE
WHITE,
BLACK,
RED,
YELLOW,
BLUE;
override fun run() {
println("name()=" + name() + ", toString()=" + toString())