8302360: Atomic*.compareAndExchange Javadoc unclear

Reviewed-by: martin, dholmes
This commit is contained in:
Viktor Klang 2023-03-10 00:31:04 +00:00 committed by Martin Buchholz
parent 8b740b4609
commit d06308c54a
8 changed files with 33 additions and 33 deletions

View file

@ -260,7 +260,7 @@ public class AtomicBoolean implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -278,7 +278,7 @@ public class AtomicBoolean implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -296,7 +296,7 @@ public class AtomicBoolean implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -465,7 +465,7 @@ public class AtomicInteger extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -481,7 +481,7 @@ public class AtomicInteger extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -497,7 +497,7 @@ public class AtomicInteger extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -470,7 +470,7 @@ public class AtomicIntegerArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -488,7 +488,7 @@ public class AtomicIntegerArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -506,7 +506,7 @@ public class AtomicIntegerArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -478,7 +478,7 @@ public class AtomicLong extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -494,7 +494,7 @@ public class AtomicLong extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -510,7 +510,7 @@ public class AtomicLong extends Number implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -470,7 +470,7 @@ public class AtomicLongArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -488,7 +488,7 @@ public class AtomicLongArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -506,7 +506,7 @@ public class AtomicLongArray implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -353,7 +353,7 @@ public class AtomicReference<V> implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -369,7 +369,7 @@ public class AtomicReference<V> implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -385,7 +385,7 @@ public class AtomicReference<V> implements java.io.Serializable {
*
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/

View file

@ -434,7 +434,7 @@ public class AtomicReferenceArray<E> implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -452,7 +452,7 @@ public class AtomicReferenceArray<E> implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/
@ -470,7 +470,7 @@ public class AtomicReferenceArray<E> implements java.io.Serializable {
* @param i the index
* @param expectedValue the expected value
* @param newValue the new value
* @return the witness value, which will be the same as the
* @return the <em>witness value</em>, which will be the same as the
* expected value if successful
* @since 9
*/