123456789101112131415161718 |
- --- avalon-framework.orig/api/src/java/org/apache/avalon/framework/Enum.java 2004-05-15 19:09:06.000000000 -0500
- +++ avalon-framework/api/src/java/org/apache/avalon/framework/Enum.java 2015-09-19 02:49:20.766734911 -0500
- @@ -126,11 +126,11 @@
- if( !(o instanceof Enum) )
- return false;
-
- - final Enum enum = (Enum)o;
- + final Enum elements = (Enum)o;
-
- - if( !getClass().equals( enum.getClass() ) )
- + if( !getClass().equals( elements.getClass() ) )
- return false;
- - if( m_name != null ? !m_name.equals( enum.m_name ) : enum.m_name != null )
- + if( m_name != null ? !m_name.equals( elements.m_name ) : elements.m_name != null )
- return false;
-
- return true;
|