You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/06/23 19:26:00 UTC
[jira] [Resolved] (CSV-275) Make CSVRecord.toList() public
[ https://issues.apache.org/jira/browse/CSV-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved CSV-275.
---------------------------------
Fix Version/s: 1.9.0
Resolution: Fixed
> Make CSVRecord.toList() public
> ------------------------------
>
> Key: CSV-275
> URL: https://issues.apache.org/jira/browse/CSV-275
> Project: Commons CSV
> Issue Type: Improvement
> Components: Parser
> Affects Versions: 1.8
> Reporter: Michael Wyraz
> Priority: Trivial
> Fix For: 1.9.0
>
>
> There was already an issue (CSV-266) requesting this. It was closed because the use case could be solved otherwise.
> I have a different use case that needs a list of items in a record. There are only inefficient ways to get this list (e.g. convert the iterator back to a list). The toList() method should really be public since it's the most efficient way to get a list if entries. And there's even a comment on it saying "TODO: Maybe make this public?"
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)