commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [CSV] change line number from 0-based to 1-based
Date Mon, 06 May 2013 21:49:12 GMT
The line number returned by

ExtendedBufferedReader.getLineNumber()

currently starts at zero, so an error in the first line in the file is
reported as being in line 0.

There does not seem to be any good reason for using a zero-based line
number, so I would like to change it to 1-based. Some tests will need
to be fixed.

WDYT?

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


Mime
View raw message