Skip to content

Commit 247a61d

Browse files
committed
revert formatting change
1 parent de5e2a4 commit 247a61d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/Lucene90CompressingTermVectorsReader.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,9 @@ public final class Lucene90CompressingTermVectorsReader extends TermVectorsReade
9898
private final long numDirtyDocs; // cumulative number of docs in incomplete chunks
9999
private final long maxPointer; // end of the data section
100100
private BlockState blockState = new BlockState(-1, -1, 0);
101-
// Cache of recently prefetched block IDs. This helps reduce chances of
102-
// prefetching the same block
103-
// multiple times, which is otherwise likely due to index sorting or recursive
104-
// graph bisection
105-
// clustering similar documents together. NOTE: this cache must be small since
106-
// it's fully scanned.
101+
// Cache of recently prefetched block IDs. This helps reduce chances of prefetching the same block
102+
// multiple times, which is otherwise likely due to index sorting or recursive graph bisection
103+
// clustering similar documents together. NOTE: this cache must be small since it's fully scanned.
107104
private final long[] prefetchedBlockIDCache;
108105
private int prefetchedBlockIDCacheIndex;
109106

@@ -172,10 +169,8 @@ public Lucene90CompressingTermVectorsReader(
172169
chunkSize = metaIn.readVInt();
173170

174171
// NOTE: data file is too costly to verify checksum against all the bytes on open,
175-
// but for now we at least verify proper structure of the checksum footer: which
176-
// looks
177-
// for FOOTER_MAGIC + algorithmID. This is cheap and can detect some forms of
178-
// corruption
172+
// but for now we at least verify proper structure of the checksum footer: which looks
173+
// for FOOTER_MAGIC + algorithmID. This is cheap and can detect some forms of corruption
179174
// such as file truncation.
180175
CodecUtil.retrieveChecksum(vectorsStream);
181176

0 commit comments

Comments
 (0)