--- jsr166/src/jsr166e/extra/SequenceLock.java 2012/11/18 18:03:10 1.3 +++ jsr166/src/jsr166e/extra/SequenceLock.java 2013/07/21 06:24:09 1.6 @@ -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(). @@ -257,8 +257,10 @@ public class SequenceLock implements Loc /** * Creates an instance of {@code SequenceLock} that will retry - * attempts to acquire the lock at least the given number times + * attempts to acquire the lock at least the given number of times * before blocking. + * + * @param spins the number of times before blocking */ public SequenceLock(int spins) { sync = new Sync(spins); } @@ -508,7 +510,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();