From 0a5255f42189c308afc9d09c23a51fcc4304e912 Mon Sep 17 00:00:00 2001 From: "ray.j.greenwell" Date: Fri, 4 Dec 2009 22:54:22 +0000 Subject: [PATCH] Superclass now has a method with a nearly identical signature and we've been caught forging its checks! git-svn-id: https://samskivert.googlecode.com/svn/trunk@2663 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../com/samskivert/util/ComparableArrayList.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/java/com/samskivert/util/ComparableArrayList.java b/src/java/com/samskivert/util/ComparableArrayList.java index 9c2dfe2e..9fdd5a2f 100644 --- a/src/java/com/samskivert/util/ComparableArrayList.java +++ b/src/java/com/samskivert/util/ComparableArrayList.java @@ -74,21 +74,6 @@ public class ComparableArrayList> return insertSorted(value, _comp); } - /** - * Performs a binary search, attempting to locate the specified - * object. The array must be sorted for this to operate correctly and - * the contents of the array must all implement {@link Comparable} - * (and actually be comparable to one another). - * - * @return the index of the object in question or - * (-(insertion point) - 1) (always a negative - * value) if the object was not found in the list. - */ - public int binarySearch (T key) - { - return binarySearch(key, _comp); - } - protected transient Comparator _comp = new Comparator() { public int compare (T o1, T o2) { if (o1 == o2) { // catches null == null