rmetzger commented on a change in pull request #14390:
URL: https://github.com/apache/flink/pull/14390#discussion_r544231381
##########
File path: flink-core/src/main/java/org/apache/flink/util/CollectionUtil.java
##########
@@ -75,6 +75,7 @@ public static boolean isNullOrEmpty(Map<?, ?> map) {
for (T element : elements) {
int bucket = index % numBuckets;
buckets.computeIfAbsent(bucket, key -> new
ArrayList<>(initialCapacity)).add(element);
+ index++;
Review comment:
@sjwiesman Can you take care of adding a unit test?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]