Followup from LUCENE-4152: The method is/should now only be used from CompositeReader's reader context to initialize itsself. No need to call it from anywhere else.
add one-syllable method to IndexReader enumerate subreaders
Patch for trunk:
Should we rename getSequentialSubReaders? It's protected and not for general use, only subclasses of CompositeReader need to implement it. getSubReaders?
I dont think renaming it accomplishes anything. I would just make it protected here while the patch still applies
OK, I changed the cocommit to a TODO and will commit this soon! Thanks for review.
Committed trunk revision: 1372866
Committed branch_4x revision: 1372871
[branch_4x commit] Robert Muir
LUCENE-4306: dont upgrade this method to public in BaseCompositeReader
Closed after release.