--- jsr166/src/jsr166e/extra/SequenceLock.java 2013/01/02 04:35:20 1.4 +++ jsr166/src/jsr166e/extra/SequenceLock.java 2015/01/18 20:17:33 1.7 @@ -5,6 +5,7 @@ */ package jsr166e.extra; + import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.locks.Lock; @@ -257,8 +258,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 +511,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();