Unnecessary cast from Object to Enum.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53d756b003
commit
e9f981378c
|
@ -372,7 +372,7 @@ public abstract class Enum implements Comparable, Serializable {
|
|||
if (entry == null) {
|
||||
return null;
|
||||
}
|
||||
return (Enum) entry.map.get(getName());
|
||||
return entry.map.get(getName());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue