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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Printer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: