in CSVPrinter a null check is missing
-------------------------------------

                 Key: SANDBOX-357
                 URL: https://issues.apache.org/jira/browse/SANDBOX-357
             Project: Commons Sandbox
          Issue Type: Bug
          Components: CSV
            Reporter: Odelya


In CSVPrinter, there is the print method:

public void print(String value) {
    boolean quote = false;
    if (value.length() > 0) {
      char c = value.charAt(0);
      if (newLine
        && (c < '0'

you should do null check as well before the if (value.length)



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