summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/util/PriorityQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/util/PriorityQueue.java')
-rw-r--r--libjava/classpath/java/util/PriorityQueue.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/classpath/java/util/PriorityQueue.java b/libjava/classpath/java/util/PriorityQueue.java
index c9cfd8b0fba..9e738d6e99c 100644
--- a/libjava/classpath/java/util/PriorityQueue.java
+++ b/libjava/classpath/java/util/PriorityQueue.java
@@ -164,6 +164,7 @@ public class PriorityQueue<E> extends AbstractQueue<E> implements Serializable
{
while (storage[++index] == null)
;
+
++count;
return storage[index];
}