You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2019/06/14 16:22:00 UTC

[jira] [Updated] (CSV-242) CSVFormat equals() and hashCode() don't use all fields

     [ https://issues.apache.org/jira/browse/CSV-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated CSV-242:
---------------------
    Summary: CSVFormat equals() and hashCode() don't use all fields  (was: CSVFormat equals() and hash() don't use all fields)

> CSVFormat equals() and hashCode() don't use all fields
> ------------------------------------------------------
>
>                 Key: CSV-242
>                 URL: https://issues.apache.org/jira/browse/CSV-242
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)