gf2121 commented on code in PR #14390:
URL: https://github.com/apache/lucene/pull/14390#discussion_r2010019135


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene101/Lucene101PostingsReader.java:
##########
@@ -1059,6 +1059,32 @@ private void bufferIntoBitSet(int start, int end, 
FixedBitSet bitSet, int offset
       }
     }
 
+    @Override
+    public int docIDRunEnd() throws IOException {
+      // Note: this assumes that BLOCK_SIZE == 128, this bit of the code would 
need to be changed if
+      // the block size was changed.
+      // Hack to avoid compiler warning that both sides of the equal sign are 
identical.
+      long blockSize = BLOCK_SIZE;

Review Comment:
   👍



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to