commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Neuhaus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-177) Support trimming leading and trailing blanks
Date Mon, 27 Jun 2016 13:53:52 GMT

    [ https://issues.apache.org/jira/browse/CSV-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351033#comment-15351033
] 

Sven Neuhaus commented on CSV-177:
----------------------------------

I was looking for a feature to automatically trim whitespace from values in the CSV parser.

There appears to be duplicate funtionality: There's the option withTrim() that you implemented
and there's withIgnoreSurroundingSpaces() that already existed before.

The documentation is unclear regarding the difference between these options. Do we really
need them both?
>From looking at the source it appears that withIgnoreSurroundingSpaces() only has an effect
on the parser whereas withTrim() affects both the parser and the printer.

> Support trimming leading and trailing blanks
> --------------------------------------------
>
>                 Key: CSV-177
>                 URL: https://issues.apache.org/jira/browse/CSV-177
>             Project: Commons CSV
>          Issue Type: New Feature
>          Components: Parser, Printer
>    Affects Versions: 1.2
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.3
>
>
> Support trimming leading and trailing blanks in the printer and parser.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message