diff --git a/classpath/java/lang/Enum.java b/classpath/java/lang/Enum.java index 3e7fb49282..b1920ac31d 100644 --- a/classpath/java/lang/Enum.java +++ b/classpath/java/lang/Enum.java @@ -34,7 +34,7 @@ public abstract class Enum> implements Comparable { try { Method method = enumType.getMethod("values"); - Enum values[] = (Enum[]) (method.invoke(null)); + Enum values[] = (Enum[]) method.invoke(null); for (Enum value: values) { if (name.equals(value.name)) { return (T) value;