You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by zh...@apache.org on 2026/04/03 01:52:06 UTC

(lucene) branch main updated: Remove todo in TestPriorityQueue#assertHeap. (#15927)

This is an automated email from the ASF dual-hosted git repository.

zhouhui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new dc233ff936c Remove todo in TestPriorityQueue#assertHeap. (#15927)
dc233ff936c is described below

commit dc233ff936cdd4310f102c9650a7f68f7d7903ea
Author: Zhou Hui <vs...@163.com>
AuthorDate: Fri Apr 3 09:51:59 2026 +0800

    Remove todo in TestPriorityQueue#assertHeap. (#15927)
---
 lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java b/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java
index 2e1154c519f..c543debb29e 100644
--- a/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java
+++ b/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java
@@ -196,7 +196,6 @@ public class TestPriorityQueue extends LuceneTestCase {
   }
 
   private boolean assertHeap(PriorityQueue<Integer> pq) {
-    // TODO: Maybe change getHeapArray return type T[].
     Object[] heapArray = pq.getHeapArray();
     // The loop goes down to 1 as heap is 1-based not 0-based.
     for (int i = (heapArray.length >>> 1); i >= 1; i--) {