Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6684

Make DocumentLocationImpl equals and hashCode implementation based on the (docRef, serverName) field pair.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: Core

      Description

      The current implementation is based on physical equality which is not helpful in many situation. Equality tests and hashCode value should better be dependent on the serverName and docRef values.

        Attachments

          Activity

            People

            • Assignee:
              ogrisel Olivier Grisel
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: