[
https://issues.apache.org/jira/browse/CSV-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864992#comment-16864992
]
Sebb edited comment on CSV-243 at 6/16/19 11:22 AM:
----------------------------------------------------
Turns out that withTrim() is used by CSVParser as well as CSVFormat#print.
CSVParser#addRecord uses it to determine whether to trim the field value before
storing in the recordList.
was (Author: [email protected]):
Turns out that withTrim() is used by CSVParser as well as CSVFormat#print
> CSVFormat withTrim() and withIgnoreSurroundingSpaces() need better docs
> -----------------------------------------------------------------------
>
> Key: CSV-243
> URL: https://issues.apache.org/jira/browse/CSV-243
> Project: Commons CSV
> Issue Type: Bug
> Reporter: Sebb
> Priority: Major
>
> It looks like withIgnoreSurroundingSpaces() is a parser option and withTrim()
> is a printer option.
> These need better Javadoc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)