--- jsr166/src/jsr166e/StampedLock.java 2015/02/26 06:53:34 1.40
+++ jsr166/src/jsr166e/StampedLock.java 2015/09/13 16:28:14 1.41
@@ -28,12 +28,12 @@ import java.util.concurrent.locks.ReadWr
* in method {@link #unlockWrite} to release the lock. Untimed and
* timed versions of {@code tryWriteLock} are also provided. When
* the lock is held in write mode, no read locks may be obtained,
- * and all optimistic read validations will fail.
+ * and all optimistic read validations will fail.
*
*
Reading. Method {@link #readLock} possibly blocks
* waiting for non-exclusive access, returning a stamp that can be
* used in method {@link #unlockRead} to release the lock. Untimed
- * and timed versions of {@code tryReadLock} are also provided.
+ * and timed versions of {@code tryReadLock} are also provided.
*
* Optimistic Reading. Method {@link #tryOptimisticRead}
* returns a non-zero stamp only if the lock is not currently held
@@ -51,7 +51,7 @@ import java.util.concurrent.locks.ReadWr
* invoke method {@code validate()}. For example, such steps are
* typically required when first reading an object or array
* reference, and then accessing one of its fields, elements or
- * methods.
+ * methods.
*
*
*