< prev index next >

src/java.base/share/classes/java/util/PriorityQueue.java

Print this page

        

@@ -109,10 +109,11 @@
 
     /**
      * The comparator, or null if priority queue uses elements'
      * natural ordering.
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     private final Comparator<? super E> comparator;
 
     /**
      * The number of times this priority queue has been
      * <i>structurally modified</i>.  See AbstractList for gory details.
< prev index next >