Skip to content

Apache Lucene open-source search software

tab to space

Michael McCandlessa3d74984a216
diff --git a/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java b/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
index 9820751499a..8e4cc78b960 100644
--- a/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
+++ b/lucene/core/src/java/org/apache/lucene/util/PriorityQueue.java
@@ -54,7 +54,7 @@ public abstract class PriorityQueue<T> {
// in this case, but it's very unlikely in practice
// one will actually insert this many objects into
// the PQ:
- // Throw exception to prevent confusing OOME:
+ // Throw exception to prevent confusing OOME:
throw new IllegalArgumentException("maxSize must be <= " + ArrayUtil.MAX_ARRAY_LENGTH + "; got: " + maxSize);
} else {
// NOTE: we add +1 because all access to heap is