ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166y/LinkedTransferQueue.java
(Generate patch)

Comparing jsr166/src/jsr166y/LinkedTransferQueue.java (file contents):
Revision 1.5 by jsr166, Fri Jul 25 18:11:53 2008 UTC vs.
Revision 1.6 by jsr166, Fri Jul 25 18:13:15 2008 UTC

# Line 407 | Line 407 | public class LinkedTransferQueue<E> exte
407      public void transfer(E e) throws InterruptedException {
408          if (e == null) throw new NullPointerException();
409          if (xfer(e, WAIT, 0) == null) {
410 <            Thread.interrupted();
410 >            Thread.interrupted();
411              throw new InterruptedException();
412 <        }
412 >        }
413      }
414  
415      public boolean tryTransfer(E e, long timeout, TimeUnit unit)
# Line 431 | Line 431 | public class LinkedTransferQueue<E> exte
431          Object e = xfer(null, WAIT, 0);
432          if (e != null)
433              return (E)e;
434 <        Thread.interrupted();
434 >        Thread.interrupted();
435          throw new InterruptedException();
436      }
437  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines