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

Make CSVRecord.toList() public

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9.0
    • Component/s: Parser
    • Labels:
      None

      Description

      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?"

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael@wyraz.de Michael Wyraz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: