ReferenceQueue.poll() description misleading

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • beta
    • generic
    • generic



      Name: vi73552 Date: 04/05/99


      The method description of method ReferenceQueue.poll() is
      not clear (or possibly the method name is misleading).

      The documentation says that the method indicates whether a
      reference is available and which one is available.

      Is does not say that the method removes the indicated reference
      from the queue.

      (From the documentation, it sounds like you can poll to see
      what's available without changing the state.)

      The documentation should say that the returned Reference object
      is also removed from the queue.
      (Review ID: 56511)
      ======================================================================

            Assignee:
            Jamie Ho (Inactive)
            Reporter:
            Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: