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:25:00 UTC
[jira] [Resolved] (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 resolved CSV-242.
----------------------
Resolution: Fixed
Fixed by:
605bc01 CSV-242 CSVFormat equals() and hash() don't use all fields
c683594 CSV-242 CSVFormat equals() and hashCode() don't use all fields
7ddc71c Wrong method name
> 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)