mirror of https://github.com/apache/druid.git
address another cr
This commit is contained in:
parent
7736c3fc27
commit
d641d41f9e
|
@ -95,15 +95,7 @@ public class RetryQueryRunner<T> implements QueryRunner<T>
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
final Sequence<T> retSeq;
|
||||
if (listOfSequences.size() == 1) {
|
||||
retSeq = listOfSequences.get(0);
|
||||
} else {
|
||||
retSeq = toolChest.mergeSequencesUnordered(Sequences.simple(listOfSequences));
|
||||
}
|
||||
|
||||
return retSeq.toYielder(initValue, accumulator);
|
||||
return toolChest.mergeSequencesUnordered(Sequences.simple(listOfSequences)).toYielder(initValue, accumulator);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue