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

java.util.Vector api doc spelling mistake

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • docs
    • beta2
    • x86
    • windows_2000



      Name: bsC130419 Date: 06/26/2001


      C:\>java -version
      java version "1.3.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
      Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

      You've had a mispelling of vector (spelt "cector") in the trimToSize() method
      in the last several JDK 1.2 and 1.3 docs. It's also in the latest 1.3.1 api.

      "trimToSize
      public void trimToSize()
      Trims the capacity of this vector to be the vector's current size. If the
      capacity of this cector is larger than its current size, then the capacity is
      changed to equal the size by replacing its internal data array, kept in the
      field elementData, with a smaller one. An application can use this operation to
      minimize the storage of a vector."
      (Review ID: 125714)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: