ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java (file contents):
Revision 1.61 by jsr166, Mon Oct 11 17:38:24 2010 UTC vs.
Revision 1.62 by jsr166, Mon Oct 11 17:55:13 2010 UTC

# Line 111 | Line 111 | public class PriorityBlockingQueue<E> ex
111      /**
112       * A plain PriorityQueue used only for serialization,
113       * to maintain compatibility with previous versions
114 <     * of this class. Non-null only during serialization/deserialization
114 >     * of this class. Non-null only during serialization/deserialization.
115       */
116      private PriorityQueue q;
117  
# Line 270 | Line 270 | public class PriorityBlockingQueue<E> ex
270      }
271  
272      /**
273 <     * Mechanics for poll(), call only while holding lock
273 >     * Mechanics for poll().  Call only while holding lock.
274       */
275      private E internalPoll() {
276          int s = size - 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines