From bff3f2fdb183ee7005cb358206235232c6c40a33 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Thu, 12 Feb 2004 00:49:30 +0000 Subject: [PATCH] Forgot to clean up exception name in the previous commit. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137778 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/enum/Enum.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/commons/lang/enum/Enum.java b/src/java/org/apache/commons/lang/enum/Enum.java index 83beabde1..08561364c 100644 --- a/src/java/org/apache/commons/lang/enum/Enum.java +++ b/src/java/org/apache/commons/lang/enum/Enum.java @@ -267,7 +267,7 @@ import org.apache.commons.lang.StringUtils; * @author Chris Webb * @author Mike Bowler * @since 1.0 - * @version $Id: Enum.java,v 1.25 2004/02/12 00:48:30 ggregory Exp $ + * @version $Id: Enum.java,v 1.26 2004/02/12 00:49:30 ggregory Exp $ */ public abstract class Enum implements Comparable, Serializable { @@ -580,11 +580,11 @@ public abstract class Enum implements Comparable, Serializable { Method mth = other.getClass().getMethod("getName", null); String name = (String) mth.invoke(other, null); return iName.equals(name); - } catch (NoSuchMethodException ex2) { + } catch (NoSuchMethodException e) { // ignore - should never happen - } catch (IllegalAccessException ex2) { + } catch (IllegalAccessException e) { // ignore - should never happen - } catch (InvocationTargetException ex2) { + } catch (InvocationTargetException e) { // ignore - should never happen } return false;