avalon-framework-rename_enum.patch 764 B

123456789101112131415161718
  1. --- avalon-framework.orig/api/src/java/org/apache/avalon/framework/Enum.java 2004-05-15 19:09:06.000000000 -0500
  2. +++ avalon-framework/api/src/java/org/apache/avalon/framework/Enum.java 2015-09-19 02:49:20.766734911 -0500
  3. @@ -126,11 +126,11 @@
  4. if( !(o instanceof Enum) )
  5. return false;
  6. - final Enum enum = (Enum)o;
  7. + final Enum elements = (Enum)o;
  8. - if( !getClass().equals( enum.getClass() ) )
  9. + if( !getClass().equals( elements.getClass() ) )
  10. return false;
  11. - if( m_name != null ? !m_name.equals( enum.m_name ) : enum.m_name != null )
  12. + if( m_name != null ? !m_name.equals( elements.m_name ) : elements.m_name != null )
  13. return false;
  14. return true;