Commit e6f82998 by Michael Koch Committed by Michael Koch

2004-01-09 Michael Koch <konqueror@gmx.de>

	* gnu/java/lang/ArrayHelper.java
	(equalsArray): Removed.

From-SVN: r75592
parent d55d97f1
2004-01-09 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/ArrayHelper.java
(equalsArray): Removed.
2004-01-09 Andrew Haley <aph@redhat.com> 2004-01-09 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
......
...@@ -75,23 +75,4 @@ public class ArrayHelper ...@@ -75,23 +75,4 @@ public class ArrayHelper
} }
return -1; return -1;
} }
/**
* Checks if two arrays are equal.
*
* @param array1 the first array
* @param array2 the second array
* @return true if both arrays are equal.
*/
public static boolean equalsArray(Object[] array1, Object[] array2)
{
if (array1.length != array2.length)
return false;
for (int index = 0; index < array1.length; index++)
if (!array1 [index].equals (array2 [index]))
return false;
return true;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment