Apache Lucene open-source search software
Remove todo in TestPriorityQueue#assertHeap. (#15927)
Zhou Huidc233ff936cd
diff --git a/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.java b/lucene/core/src/test/org/apache/lucene/util/TestPriorityQueue.javaindex 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--) {