REQ-3201: ack
This commit is contained in:
parent
1ae80fa3a6
commit
ad69d3afab
@ -89,10 +89,8 @@ public class CardManipulateCollector {
|
||||
}
|
||||
|
||||
void batched(Consumer<List<T>> action) {
|
||||
if (CollectionUtils.isEmpty(elements))
|
||||
return;
|
||||
if (finished)
|
||||
return;
|
||||
if (finished) return;
|
||||
if (CollectionUtils.isEmpty(elements)) return;
|
||||
Lists.partition(elements, BATCH_SIZE).forEach(action);
|
||||
finished = true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user