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

Inconsistent specification for default capacity in java.util.Hash{table|Set|Map}

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • core-libs
    • None
    • rc1
    • sparc
    • solaris_2.5
    • Verified

      Inconsistant default capacity described at constructor HashSet() and HashSet(Collection). For HashSet(), the default capacity is described as "default capacity", where it is described as "eleven" at HashSet(Collection).

      The description for default capacity should be consistent. It should use "default capacity" or "eleven" for both of them.

      The same problem exists in Hashtable and HashMap as well.

            jjb Josh Bloch (Inactive)
            hji Huafang Ji (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: