commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [csv] record.get APIs for primitive types
Date Thu, 01 Aug 2013 23:27:05 GMT
On 1 August 2013 23:32, Emmanuel Bourg <ebourg@apache.org> wrote:
> Le 01/08/2013 21:45, Benedikt Ritter a écrit :
>> I agree with Gary. This sounds like a useful feature that doesn't seem to
>> be to hard to implement. And if he (Gary) has the time to do the necessary
>> coding, why not?
>
> Because you start with getBoolean(), then you add getInt(), getDate(),
> getList(), methods with a default value... and you end with an insanely
> big class. We did that for [configuration] and I don't think [csv]
> should follow this path.

+1

Converting strings to primitives is out of scope for CSV.

> Emmanuel Bourg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message