Closed tobiasbehr closed 7 years ago
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.
Many thanks, merged your pull request.
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.