remove nocommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1190029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-10-27 21:08:28 +00:00
parent 00da65393c
commit 33b127887f
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ public final class TermInfosReader {
context), fieldInfos, true); context), fieldInfos, true);
try { try {
// nocommit don't cast to int.. index = new TermInfosReaderIndex(indexEnum, indexDivisor, dir.fileLength(indexFileName), totalIndexInterval);
index = new TermInfosReaderIndex(indexEnum, indexDivisor, (int) dir.fileLength(indexFileName), totalIndexInterval);
indexLength = index.length(); indexLength = index.length();
} finally { } finally {
indexEnum.close(); indexEnum.close();