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

DOC: Typo's in the documentation of java.util.Vector.capacity()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • docs
    • beta3
    • generic
    • generic



      Name: rmT116609 Date: 08/21/2001


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


      Misspelling in method description of public int capacity(). Method currently reads:

      Returns the current capacity of this vector.
      Returns:
      the current capacity (the length of its internal data arary, kept in the field elementData of this vector.

      Typo's:
      -------

      1) arary should be array

      2) there should be right parenthesis at the end of the word vector


      It should read:
      ===========
      capacity
      public int capacity()
      Returns the current capacity of this vector.
      Returns:
      the current capacity (the length of its internal data array, kept in the field elementData of this vector).


      (Review ID: 130074)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: