Patch a bug where the .tii file was not closed.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Cutting 2005-03-08 17:30:43 +00:00
parent 90ff23fb92
commit 4ddfbcffc6
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ final class TermInfosReader {
final void close() throws IOException {
if (origEnum != null)
origEnum.close();
if (indexEnum != null)
indexEnum.close();
}
/** Returns the number of term/value pairs in the set. */