# | Line 776 | Line 776 | public class ReentrantLockTest extends J | |
---|---|---|
776 | Thread t = new Thread(new CheckedInterruptedRunnable() { | |
777 | public void realRun() throws InterruptedException { | |
778 | lock.lock(); | |
779 | < | c.awaitNanos(LONG_DELAY_MS * 1000L * 1000L); |
779 | > | c.awaitNanos(MILLISECONDS.toNanos(LONG_DELAY_MS)); |
780 | }}); | |
781 | ||
782 | t.start(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |