commons-issues mailing list archives

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


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:
>             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

View raw message