Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4474319

method Collections.iteratorBinarySearch should be private(?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • generic
    • generic
    • Verified



      Name: bsC130419 Date: 06/25/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)


      The java.util.Collections methods iteratorBinarySearch(List, Object) and
      iteratorBinarySearch(List, Object, Comparator) have public visibility, but
      it looks like they are supposed to be private. There are no JavaDoc
      comments attached to them, no other class in the VM seems to call them,
      and the corresponding indexedBinarySearch() methods are private.
      (Review ID: 127219)
      ======================================================================

            jjb Josh Bloch (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: