You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Wyraz (Jira)" <ji...@apache.org> on 2021/06/23 12:00:03 UTC

[jira] [Created] (CSV-275) CSVRecord.toList() should be public

Michael Wyraz created CSV-275:
---------------------------------

             Summary: CSVRecord.toList() should be 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


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)