minor code formatting

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097494 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-04-28 14:59:45 +00:00
parent e02fe6ebb0
commit 3ee258ae1b
1 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,9 @@ final class TermsHashPerField extends InvertedDocConsumerPerField {
if (numPostingInt + intPool.intUpto > DocumentsWriterPerThread.INT_BLOCK_SIZE) if (numPostingInt + intPool.intUpto > DocumentsWriterPerThread.INT_BLOCK_SIZE)
intPool.nextBuffer(); intPool.nextBuffer();
if (ByteBlockPool.BYTE_BLOCK_SIZE - bytePool.byteUpto < numPostingInt*ByteBlockPool.FIRST_LEVEL_SIZE) bytePool.nextBuffer(); if (ByteBlockPool.BYTE_BLOCK_SIZE - bytePool.byteUpto < numPostingInt*ByteBlockPool.FIRST_LEVEL_SIZE) {
bytePool.nextBuffer();
}
intUptos = intPool.buffer; intUptos = intPool.buffer;
intUptoStart = intPool.intUpto; intUptoStart = intPool.intUpto;