Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

More javadoc fixes, sorry for duplicate commit, didn't see this before

Uwe Schindler75b8d24d86bf
diff --git a/src/java/org/apache/lucene/util/PriorityQueue.java b/src/java/org/apache/lucene/util/PriorityQueue.java
index 5d065f8f32d..d0212776093 100644
--- a/src/java/org/apache/lucene/util/PriorityQueue.java
+++ b/src/java/org/apache/lucene/util/PriorityQueue.java
@@ -116,8 +116,8 @@ public abstract class PriorityQueue<T> {
}
/**
- * insertWithOverflow() is the same as insert() except its
- * return value: it returns the object (if any) that was
+ * Adds an Object to a PriorityQueue in log(size) time.
+ * It returns the object (if any) that was
* dropped off the heap because it was full. This can be
* the given parameter (in case it is smaller than the
* full heap's minimum, and couldn't be added), or another