]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2004-01-09 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Fri, 9 Jan 2004 17:18:29 +0000 (17:18 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Fri, 9 Jan 2004 17:18:29 +0000 (17:18 +0000)
* gnu/java/lang/ArrayHelper.java
(equalsArray): Removed.

From-SVN: r75592

libjava/ChangeLog
libjava/gnu/java/lang/ArrayHelper.java

index 5a4860b2d6ac5ad7c894debe674f149e7b648889..f09ba27df59b9526839c2528a1cc8b4020f1eb52 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-09  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/lang/ArrayHelper.java
+       (equalsArray): Removed.
+
 2004-01-09  Andrew Haley  <aph@redhat.com>
 
        * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
index aac7a545723e7da7d62aeea7040b63d3b847fb09..5ce0a99f511ce3b69ec2b278635e9668e57f6c3c 100644 (file)
@@ -75,23 +75,4 @@ public class ArrayHelper
       }
     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;
-  }
 }