# | Line 317 | Line 317 | public enum TimeUnit { | |
---|---|---|
317 | * throws InterruptedException { | |
318 | * synchronized (lock) { | |
319 | * while (isEmpty()) { | |
320 | < | * unit.timedWait(this, timeout); |
320 | > | * unit.timedWait(lock, timeout); |
321 | * ... | |
322 | * } | |
323 | * } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |