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

documentation: typo in Vector.capacityIncrement description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.6
    • 1.1.4
    • docs
    • 1.1.6
    • x86
    • windows_nt
    • Verified



        Name: diC59631 Date: 12/09/97


        See http://www.javasoft.com/products/jdk/1.1/docs/api/java.util.Vector.html#capacityIncrement .

        For capacityIncrement, it says:

          If the capacity is 0, the capacity of the
          vector is doubled each time it needs to grow.

        I don't think doubling zero would get us anywhere.
        Apparently, that should read as:

          If the capacity increment is 0, the capacity of
          the vector is doubled each time it needs to
          grow.
        (Review ID: 21573)
        ======================================================================

              asommere Alan Sommerer (Inactive)
              dindrigo Daniel Indrigo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: