--- jsr166/src/main/java/util/PriorityQueue.java 2014/08/29 21:42:37 1.100 +++ jsr166/src/main/java/util/PriorityQueue.java 2015/02/17 18:55:39 1.104 @@ -24,8 +24,8 @@ */ package java.util; + import java.util.function.Consumer; -import java.util.stream.Stream; /** * An unbounded priority {@linkplain Queue queue} based on a priority heap. @@ -77,7 +77,7 @@ import java.util.stream.Stream; * * @since 1.5 * @author Josh Bloch, Doug Lea - * @param the type of elements held in this collection + * @param the type of elements held in this queue */ public class PriorityQueue extends AbstractQueue implements java.io.Serializable { @@ -435,7 +435,7 @@ public class PriorityQueue extends Ab * The following code can be used to dump the queue into a newly * allocated array of {@code String}: * - *
 {@code String[] y = x.toArray(new String[0]);}
+ *
 {@code String[] y = x.toArray(new String[0]);}
* * Note that {@code toArray(new Object[0])} is identical in function to * {@code toArray()}.