Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4238

Integers should be compared with .equals()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted / Claimed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.3, 7.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Some hibernate entities use an Integer field as id and the equals method is comparing the ids using !=.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sulfrian Alexander Sulfrian
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: