j-easy/easy-batch

Allows a job with a MultiFileRecordReader and no input files not to fail

okayawright opened this issue · 0 comments

I believe the line could be changed to :

currentFile = iterator.hasNext() ? iterator.next() : null;

in order to allow a job with no input files not to fail, just to report as COMPLETE even if it didn't process anything