diff options
Diffstat (limited to 'libre/java-avalon-framework/avalon-framework-rename_enum.patch')
-rw-r--r-- | libre/java-avalon-framework/avalon-framework-rename_enum.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/java-avalon-framework/avalon-framework-rename_enum.patch b/libre/java-avalon-framework/avalon-framework-rename_enum.patch new file mode 100644 index 000000000..85ee8fd6a --- /dev/null +++ b/libre/java-avalon-framework/avalon-framework-rename_enum.patch @@ -0,0 +1,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;
|