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.94 by dl, Wed Mar 13 12:39:02 2013 UTC vs.
Revision 1.95 by dl, Wed Mar 27 19:46:34 2013 UTC

# Line 949 | Line 949 | public class PriorityBlockingQueue<E> ex
949          }
950  
951          @SuppressWarnings("unchecked")
952 <        public void forEach(Consumer<? super E> action) {
952 >        public void forEachRemaining(Consumer<? super E> action) {
953              Object[] a; int i, hi; // hoist accesses and checks from loop
954              if (action == null)
955                  throw new NullPointerException();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines