Github user mikewalch commented on a diff in the pull request:
    --- Diff: 
    @@ -68,17 +68,19 @@ protected void 
processExports(Iterator<SequencedExport<K, V>> exports) {
         ArrayList<Mutation> buffer = new ArrayList<>();
    +    Consumer<Mutation> consumer = m -> buffer.add(m);
         while (exports.hasNext()) {
           SequencedExport<K, V> export =;
    -      buffer.addAll(translate(export));
    +      translate(export, consumer);
         if (buffer.size() > 0) {
    -  protected abstract Collection<Mutation> translate(SequencedExport<K, V> 
    +  protected abstract void translate(SequencedExport<K, V> export, 
Consumer<Mutation> consumer);
    --- End diff --
    Could have javadoc

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to