J2K: updating generated enums to modern syntax
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user