mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-17 07:26:32 +00:00
Delegate to withHeader(String[]) instead of calling the long constructor directly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4def868a8e
commit
20eac694a0
@ -1139,9 +1139,7 @@ public final class CSVFormat implements Serializable {
|
||||
labels[i] = metaData.getColumnLabel(i + 1);
|
||||
}
|
||||
}
|
||||
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,
|
||||
ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, labels,
|
||||
skipHeaderRecord, allowMissingColumnNames, ignoreHeaderCase, trim, trailingDelimiter);
|
||||
return withHeader(labels);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user