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

CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • Printer
    • None

    Description

      CSVParser uses CSVFormat.getSkipHeaderRecord to initialize index mapping and skip the first record as well (initializeHeader method). It's inconsistent that CSVPrinter doesn't skip creation of header record since the skipHeaderRecord boolean should be applicable for reads/writes.

      Attachments

        Activity

          People

            britter Benedikt Ritter
            chanwr Wren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: