mirror of https://github.com/apache/lucene.git
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:
parent
00da65393c
commit
33b127887f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue