Merge pull request 143 from dturanski/BATCH-1908-JUnit
BATCH-1957: Add StaxEventItemWriter deleteIfEmpty property
add unit test test showing bug in FlatFileItemWriter: output file is
deleted on restart if shouldDeleteIfEmpty property is set and no new
records have been written
add additional test case that shows a bug in the current
StaxEventItemWriter.shouldDeleteIfEmpty: when the writer restarts from a
previous execution where the output file was deleted, this fails because
FileUtils.setUpOutputFile expects the file to be there on restart
- restore WRITE_STATISTICS_NAME from execution context on restart
- don't assume output file is always present on restart (could be
deleted by previous execution if shouldDeleteIfEmpty flag was set)
BATCH-1957: Updated comments
Merge pull request 134 from jpraet/BATCH-1957

* BATCH-1957:
  BATCH-1957: Updated comments
  - restore WRITE_STATISTICS_NAME from execution context on restart - don't assume output file is always present on restart (could be deleted by previous execution if shouldDeleteIfEmpty flag was set)
  add additional test case that shows a bug in the current StaxEventItemWriter.shouldDeleteIfEmpty: when the writer restarts from a previous execution where the output file was deleted, this fails because FileUtils.setUpOutputFile expects the file to be there on restart
  add unit test test showing bug in FlatFileItemWriter: output file is deleted on restart if shouldDeleteIfEmpty property is set and no new records have been written
  BATCH-1957: Add StaxEventItemWriter deleteIfEmpty property
BATCH-1959
add additional tests with UTF-8 and UTF-16BE encoding
fix assertion (see BATCH-1957: WRITTEN_STATISTICS_NAME in execution
context now contains TOTAL number of records written)
BATCH-1959: Fixed whitespace issues
Merge pull request #140 from jpraet/BATCH-1959

* BATCH-1959:
  BATCH-1959: Fixed whitespace issues
  fix assertion (see BATCH-1957: WRITTEN_STATISTICS_NAME in execution context now contains TOTAL number of records written)
  add additional tests with UTF-8 and UTF-16BE encoding
  BATCH-1959
BATCH-1968: Upgrade to hsqldb 2.2.9
Merge pull request #145 from chrisjs/BATCH-1968

* BATCH-1968:
  BATCH-1968: Upgrade to hsqldb 2.2.9
Fix issue batch-1952
Merge pull request #146 from baumgartner/fix-batch-1952

* BATCH-1952:
  Fix issue batch-1952