address another cr

This commit is contained in:
fjy 2014-11-14 13:29:59 -08:00
parent 7736c3fc27
commit d641d41f9e
1 changed files with 1 additions and 9 deletions

View File

@ -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);
}
};
}