From 4273ff834c1d0f69aa85dd900652f3f43f2e4848 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 1 Sep 2010 10:10:11 -0600 Subject: [PATCH] remove uncessary parentheses from Enum.java --- classpath/java/lang/Enum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;