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

Typos in Javadoc for java.util.BitSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • generic
    • generic



      Name: stC104175 Date: 06/14/2000


      Not applicable - error in documentation since BitSet introduced.

      The first JavaDoc paragraph of method toString() on java.util.BitSet reads:

      Returns a string representation of this bit set. For every index for which this
      BitSet contains a bit in the set state, the decimal representation of that
      index is included in the result. Such indeces aer listed in order from lowest
      to highest, separated by ",$nbsp;" (a comma and a space) and surrounded by
      braces, resulting in the usual mathematical notation for a set of integers.

      I guess it should read:

      Returns a string representation of this bit set. For every index for which this
      BitSet contains a bit in the set state, the decimal representation of that
      index is included in the result. Such indeces are listed in order from lowest
      to highest, separated by ", " (a comma and a space) and surrounded by
      braces, resulting in the usual mathematical notation for a set of integers.
      (Review ID: 103223)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            stompkinsunw Sean Tompkins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: