# | Line 38 | Line 38 | public class FairSemaphore extends Semap | |
---|---|---|
38 | */ | |
39 | private static class Node extends ReentrantLock { | |
40 | /** The condition to wait on */ | |
41 | < | Condition done = newCondition(); |
41 | > | ReentrantLock.ConditionObject done = newCondition(); |
42 | /** True if interrupted before released */ | |
43 | boolean cancelled; | |
44 | /** Number of permits remaining until can release */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |