commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [CSV-96] Are we satisfied with the implemented solution?
Date Mon, 08 Apr 2013 18:59:32 GMT
2013/4/8 Gary Gregory <garydgregory@gmail.com>

> Like what? IllegalArgumentException would seem OK.
>

Agreed, I'll add that to trunk.

Benedikt


>
> Gary
>
>
> On Mon, Apr 8, 2013 at 2:15 PM, Benedikt Ritter <britter@apache.org>
> wrote:
>
> > Hi,
> >
> > Gary has already added the isConsistent() method to CSVRecord to give
> users
> > a possibility to check if a CSVRecord's  values have the same length as
> the
> > headers array. Are we satisfied with this solution for CSV-96 [1]?
> > One thing I'd like to do is convert the ArrayOutOfBoundsExpcetion that
> may
> > be thrown from get(String) into something that is a bit more expressive
> in
> > the context of CSVRecords. How do you feel about this? There should be no
> > impact on performance.
> >
> > Regards,
> > Benedikt
> >
> > [1] https://issues.apache.org/jira/browse/CSV-96
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
> >
>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message