fix insanity typos

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-11-09 17:03:44 +00:00
parent dc716ad4eb
commit 28b884350f
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ public final class FieldCacheSanityChecker {
if (seen.contains(rf)) continue; if (seen.contains(rf)) continue;
List<Object> kids = getAllDescendentReaderKeys(rf.readerKey); List<Object> kids = getAllDescendantReaderKeys(rf.readerKey);
for (Object kidKey : kids) { for (Object kidKey : kids) {
ReaderField kid = new ReaderField(kidKey, rf.fieldName); ReaderField kid = new ReaderField(kidKey, rf.fieldName);
@ -266,7 +266,7 @@ public final class FieldCacheSanityChecker {
* the hierarchy of subReaders building up a list of the objects * the hierarchy of subReaders building up a list of the objects
* returned by obj.getFieldCacheKey() * returned by obj.getFieldCacheKey()
*/ */
private List<Object> getAllDescendentReaderKeys(Object seed) { private List<Object> getAllDescendantReaderKeys(Object seed) {
List<Object> all = new ArrayList<Object>(17); // will grow as we iter List<Object> all = new ArrayList<Object>(17); // will grow as we iter
all.add(seed); all.add(seed);
for (int i = 0; i < all.size(); i++) { for (int i = 0; i < all.size(); i++) {