diff options
Diffstat (limited to 'java/lang/Enum.java')
-rw-r--r-- | java/lang/Enum.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/lang/Enum.java b/java/lang/Enum.java index 374940333..f141619be 100644 --- a/java/lang/Enum.java +++ b/java/lang/Enum.java @@ -60,13 +60,13 @@ public abstract class Enum<T extends Enum<T>> /** * The name of this enum constant. */ - String name; + final String name; /** * The number of this enum constant. Each constant is given a number * which matches the order in which it was declared, starting with zero. */ - int ordinal; + final int ordinal; /** * This constructor is used by the compiler to create enumeration constants. |