# | Line 503 | Line 503 | public class SequenceLock implements Loc | |
---|---|---|
503 | * @throws IllegalMonitorStateException if the current thread does not | |
504 | * hold this lock | |
505 | */ | |
506 | < | public void unlock() { sync.release(1); } |
506 | > | public void unlock() { sync.release(1); } |
507 | ||
508 | /** | |
509 | * Throws UnsupportedOperationException. SequenceLocks | |
# | Line 511 | Line 511 | public class SequenceLock implements Loc | |
511 | * | |
512 | * @throws UnsupportedOperationException | |
513 | */ | |
514 | < | public Condition newCondition() { |
514 | > | public Condition newCondition() { |
515 | throw new UnsupportedOperationException(); | |
516 | } | |
517 | ||
# | Line 636 | Line 636 | public class SequenceLock implements Loc | |
636 | } | |
637 | ||
638 | } | |
639 | – |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |