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,7 +1,7 @@
enum class Color private constructor(public val code: Int) {
WHITE : Color(21)
BLACK : Color(22)
RED : Color(23)
YELLOW : Color(24)
BLUE : Color(25)
WHITE(21),
BLACK(22),
RED(23),
YELLOW(24),
BLUE(25)
}