Skip to content

Commit dacb2a5

Browse files
committed
Spotless
1 parent 905e477 commit dacb2a5

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

lucene/core/src/java/org/apache/lucene/util/bkd/DocIdsWriter.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ final class DocIdsWriter {
3939
private final ScratchDocIdSetIterator scratchDocIdSetIterator = new ScratchDocIdSetIterator();
4040

4141
/**
42-
DocIdSetIterator to be used to iterate over the scratch buffer. A single instance is reused to avoid
43-
re-allocating the object. The reset method should be called before each use with the count.
44-
45-
The main reason for existing is to be able to call the {@link IntersectVisitor#visit(DocIdSetIterator)} method
46-
rather than the {@link IntersectVisitor#visit(int)} method. This seems to make a difference in performance,
47-
probably due to fewer virtual calls then happening (once per read call rather than once per doc).
48-
42+
* DocIdSetIterator to be used to iterate over the scratch buffer. A single instance is reused to
43+
* avoid re-allocating the object. The reset method should be called before each use with the
44+
* count.
45+
*
46+
* <p>The main reason for existing is to be able to call the {@link
47+
* IntersectVisitor#visit(DocIdSetIterator)} method rather than the {@link
48+
* IntersectVisitor#visit(int)} method. This seems to make a difference in performance, probably
49+
* due to fewer virtual calls then happening (once per read call rather than once per doc).
4950
*/
5051
private class ScratchDocIdSetIterator extends DocIdSetIterator {
5152

0 commit comments

Comments
 (0)