aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/lang/ArrayHelper.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-01-09 17:18:29 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-01-09 17:18:29 +0000
commite6f82998527f97ca5ee843af1c86cab20a204af4 (patch)
tree1ef180fe19097656526190cc059252e1d297f83d /libjava/gnu/java/lang/ArrayHelper.java
parentd55d97f163688a5e0c71bbb1b8d20a8128a6dc91 (diff)
downloadgcc-e6f82998527f97ca5ee843af1c86cab20a204af4.zip
gcc-e6f82998527f97ca5ee843af1c86cab20a204af4.tar.gz
gcc-e6f82998527f97ca5ee843af1c86cab20a204af4.tar.bz2
2004-01-09 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/ArrayHelper.java (equalsArray): Removed. From-SVN: r75592
Diffstat (limited to 'libjava/gnu/java/lang/ArrayHelper.java')
-rw-r--r--libjava/gnu/java/lang/ArrayHelper.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/libjava/gnu/java/lang/ArrayHelper.java b/libjava/gnu/java/lang/ArrayHelper.java
index aac7a54..5ce0a99 100644
--- a/libjava/gnu/java/lang/ArrayHelper.java
+++ b/libjava/gnu/java/lang/ArrayHelper.java
@@ -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;
- }
}