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

Comparing jsr166/src/main/java/util/concurrent/DelayQueue.java (file contents):
Revision 1.53 by dl, Mon May 30 23:08:12 2011 UTC vs.
Revision 1.54 by jsr166, Fri Jun 3 02:28:05 2011 UTC

# Line 504 | Line 504 | public class DelayQueue<E extends Delaye
504              // not just a .equals element.
505              lock.lock();
506              try {
507 <                for (Iterator it = q.iterator(); it.hasNext(); ) {
507 >                for (Iterator<E> it = q.iterator(); it.hasNext(); ) {
508                      if (it.next() == x) {
509                          it.remove();
510                          return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines