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

CSVParser.getRecords() returns null rather than empty List at EOF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      CSVParser.getRecords() returns null rather than empty List at EOF.

      It's usually easier for applications to deal with empty lists than to have to check for null after every invocation of the method.

      If the application really does need to know if the list is emty, then it can use a method such as isEmpty().

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: