From 1b15703d3f7171644cca5ca8d7989ad197ba3999 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Sat, 14 Jun 2003 07:10:56 +0000 Subject: [PATCH] slight cleanup and handling of one cornr case --- .../dynamo/index/IndexServiceImpl.java | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/dynamo-framework/com/silverwrist/dynamo/index/IndexServiceImpl.java b/src/dynamo-framework/com/silverwrist/dynamo/index/IndexServiceImpl.java index fbea77a..6f78ba6 100644 --- a/src/dynamo-framework/com/silverwrist/dynamo/index/IndexServiceImpl.java +++ b/src/dynamo-framework/com/silverwrist/dynamo/index/IndexServiceImpl.java @@ -236,6 +236,13 @@ class IndexServiceImpl implements IndexService *-------------------------------------------------------------------------------- */ + private static final void visitAllDocuments(IndexSearcher srch, HitCollector c) throws IOException + { + for (int i=0; i