Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-242

CSVFormat equals() and hashCode() don't use all fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      It looks like the equals() and hash() methods of CSVFormat were not updated when some new fields were added, for example: trim

      Need to add tests to ensure all fields contribute to equals().
      Best to ensure they all contribute to hash() as well, though that is not essential.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: