Description
LineIterator should call close on itself when hasNext() returns false. This would enable us to write something like this:
for (LineIterator lit = FileUtils.lineIterator(csvFile); lit.hasNext(); )
{
//do something
}
LineIterator should call close on itself when hasNext() returns false. This would enable us to write something like this:
for (LineIterator lit = FileUtils.lineIterator(csvFile); lit.hasNext(); )
{
//do something
}