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

Comparing jsr166/src/main/java/util/concurrent/CountDownLatch.java (file contents):
Revision 1.19 by dl, Wed Jan 7 01:00:50 2004 UTC vs.
Revision 1.20 by dl, Fri Jan 9 14:45:17 2004 UTC

# Line 241 | Line 241 | public class CountDownLatch {
241       */
242      public boolean await(long timeout, TimeUnit unit)
243          throws InterruptedException {
244 <        return sync.acquireSharedTimed(1, unit.toNanos(timeout));
244 >        return sync.acquireSharedNanos(1, unit.toNanos(timeout));
245      }
246  
247      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines