mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Implemented proper enum toString() behavior and an enum test. it should
work, but it fails with the current build.
This commit is contained in:
@ -35,4 +35,8 @@ public abstract class Enum<E extends Enum<E>> {
|
||||
public int ordinal() {
|
||||
return ordinal;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user