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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment