--- jsr166/src/jsr166e/extra/SequenceLock.java 2012/10/21 06:14:11 1.2 +++ jsr166/src/jsr166e/extra/SequenceLock.java 2013/07/21 06:20:22 1.5 @@ -40,7 +40,7 @@ import java.io.IOException; * threads invoke short read-only methods much more frequently than * fully locked methods. * - *

Methods {@code awaitAvailability} and {@code getSequence} can + *

Methods {@code awaitAvailability} and {@code getSequence} can * be used together to define (partially) optimistic read-only methods * that are usually more efficient than ReadWriteLocks when they * apply. These methods should in general be structured as loops that @@ -109,7 +109,7 @@ public class SequenceLock implements Loc private static final long serialVersionUID = 7373984872572414699L; static final class Sync extends AbstractQueuedLongSynchronizer { - static final long serialVersionUID = 2540673546047039555L; + private static final long serialVersionUID = 2540673546047039555L; /** * The number of times to spin in lock() and awaitAvailability(). @@ -508,7 +508,7 @@ public class SequenceLock implements Loc * Throws UnsupportedOperationException. SequenceLocks * do not support Condition objects. * - * @throws UnsupportedOperationException + * @throws UnsupportedOperationException always */ public Condition newCondition() { throw new UnsupportedOperationException();