Object.equals documentation slighlty confusing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: core-libs
    • beta
    • generic
    • generic
    • Verified

         Object.equals(Object) contains an @see tag for Boolean.hashCode where it should reference Object.hashCode. While we're at it, we should add a note saying that it is almost always necessary to override hashCode when overriding equals, in order to preserve general contract of Object.hashCode.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: