CustomBatchBuilder.calculateTotalJobs() uses Integer division
tobiasbehr opened this issue · 1 comments
tobiasbehr commented
private int calculateTotalJobs() { return Integer.divideUnsigned(this.batchData.size(), this.batch.getInvocationsPerBatchJob()); }
When batchData.size() == 1500 and getInvocationsPerBatchJob() == 1000, then calculateTotalJobs returns 1 but should return 2.
pschalk commented
Many thanks, merged your pull request.