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

IllegalArgumentException thrown when the header contains duplicate names when the column names are empty.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      When having a header like a,,c,d,, an IllegalArgumentException("The header contains duplicate names: " +Arrays.toString(header) is thrown because empty header names are treated as a header with name. I sended in a pullrequest at github: https://github.com/apache/commons-csv/pull/2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tuxBurner Sebastian Hardt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: