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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: