[
https://issues.apache.org/jira/browse/CSV-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595211#comment-14595211
]
Wren commented on CSV-153:
--------------------------
I've added it as format.getSkipHeaderRecord of the conditionals for header
record being created and three unit tests in addition to the original as [Pull
Request #8|https://github.com/apache/commons-csv/pull/8]
> CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set
> to true
> ------------------------------------------------------------------------------------
>
> Key: CSV-153
> URL: https://issues.apache.org/jira/browse/CSV-153
> Project: Commons CSV
> Issue Type: Improvement
> Components: Printer
> Reporter: Wren
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)