Results 1 to 3 of 3

Thread: restart.count is always 0 in FlatFileItemWriter

  1. #1

    Default restart.count is always 0 in FlatFileItemWriter

    Hi,

    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,
    Angel

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    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. Reason: spelling

  3. #3

    Default

    Thanks Dave.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •