# | Line 57 | Line 57 | public class ReentrantLockTest extends J | |
---|---|---|
57 | return super.getQueuedThreads(); | |
58 | } | |
59 | public ConditionObject newCondition() { | |
60 | < | return new PublicCondition(this); |
60 | > | return new PublicCondition(); |
61 | } | |
62 | ||
63 | < | static class PublicCondition extends ReentrantLock.ConditionObject { |
64 | < | PublicCondition(PublicReentrantLock l) { super(l); } |
63 | > | class PublicCondition extends ReentrantLock.ConditionObject { |
64 | > | PublicCondition() { } |
65 | public Collection<Thread> getWaitingThreads() { | |
66 | return super.getWaitingThreads(); | |
67 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |