Jul 24th, 2008, 10:56 AM
restart.count is always 0 in FlatFileItemWriter
I noticed that restart.count is always 0 in FlatFileItemWriter, in the source code it's never actually updated. written seems to hold the # of lines written since last restart, so should restart.count have the previous total number of lines written?
Thanks and regards,
Jul 25th, 2008, 02:00 AM
I think from the name it was supposed to count the number of restarts (not the number of lines written). The fact that it isn't used is an accident (http://jira.springframework.org/browse/BATCH-744).
Last edited by Dave Syer; Jul 25th, 2008 at 02:01 AM.
Jul 31st, 2008, 10:11 AM