commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r430154 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java
Date Wed, 09 Aug 2006 22:07:04 GMT
Author: ggregory
Date: Wed Aug  9 15:07:04 2006
New Revision: 430154

URL: http://svn.apache.org/viewvc?rev=430154&view=rev
Log:
Unnecessary cast from Object to Enum.

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java?rev=430154&r1=430153&r2=430154&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java Wed
Aug  9 15:07:04 2006
@@ -372,7 +372,7 @@
         if (entry == null) {
             return null;
         }
-        return (Enum) entry.map.get(getName());
+        return entry.map.get(getName());
     }
     
     //--------------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message