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

                 Key: CSV-87
                 URL: https://issues.apache.org/jira/browse/CSV-87
             Project: Commons CSV
          Issue Type: Bug
            Reporter: Sebb


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().


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to