summaryrefslogtreecommitdiff
path: root/libre/java-avalon-framework/avalon-framework-rename_enum.patch
blob: 85ee8fd6a96c4d5cfc09cd27553ac1efd9cdaeb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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;