Skip to content

Commit 8cfa76f

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Use {@code ...} instead of backticks in Javadoc.
RELNOTES=n/a PiperOrigin-RevId: 827615605
1 parent e416f49 commit 8cfa76f

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

android/guava/src/com/google/common/math/IntMath.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,10 @@ public static boolean isPrime(int n) {
747747
* when passed {@code Integer.MIN_VALUE}
748748
* </ul>
749749
*
750-
* <p>Note that if your only goal is to turn a well-distributed `int` (such as a random number or
751-
* hash code) into a well-distributed nonnegative number, the most even distribution is achieved
752-
* not by this method or other absolute value methods, but by {@code x & Integer.MAX_VALUE}.
750+
* <p>Note that if your only goal is to turn a well-distributed {@code int} (such as a random
751+
* number or hash code) into a well-distributed nonnegative number, the most even distribution is
752+
* achieved not by this method or other absolute value methods, but by {@code x &
753+
* Integer.MAX_VALUE}.
753754
*
754755
* @since 33.5.0
755756
*/

android/guava/src/com/google/common/math/LongMath.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,9 @@ public static double roundToDouble(long x, RoundingMode mode) {
13561356
* when passed {@code Long.MIN_VALUE}
13571357
* </ul>
13581358
*
1359-
* <p>Note that if your only goal is to turn a well-distributed `long` (such as a random number)
1360-
* into a well-distributed nonnegative number, the most even distribution is achieved not by this
1361-
* method or other absolute value methods, but by {@code x & Long.MAX_VALUE}.
1359+
* <p>Note that if your only goal is to turn a well-distributed {@code long} (such as a random
1360+
* number) into a well-distributed nonnegative number, the most even distribution is achieved not
1361+
* by this method or other absolute value methods, but by {@code x & Long.MAX_VALUE}.
13621362
*
13631363
* @since 33.5.0
13641364
*/

guava/src/com/google/common/math/IntMath.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,10 @@ public static boolean isPrime(int n) {
747747
* when passed {@code Integer.MIN_VALUE}
748748
* </ul>
749749
*
750-
* <p>Note that if your only goal is to turn a well-distributed `int` (such as a random number or
751-
* hash code) into a well-distributed nonnegative number, the most even distribution is achieved
752-
* not by this method or other absolute value methods, but by {@code x & Integer.MAX_VALUE}.
750+
* <p>Note that if your only goal is to turn a well-distributed {@code int} (such as a random
751+
* number or hash code) into a well-distributed nonnegative number, the most even distribution is
752+
* achieved not by this method or other absolute value methods, but by {@code x &
753+
* Integer.MAX_VALUE}.
753754
*
754755
* @since 33.5.0
755756
*/

guava/src/com/google/common/math/LongMath.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,9 @@ public static double roundToDouble(long x, RoundingMode mode) {
13561356
* when passed {@code Long.MIN_VALUE}
13571357
* </ul>
13581358
*
1359-
* <p>Note that if your only goal is to turn a well-distributed `long` (such as a random number)
1360-
* into a well-distributed nonnegative number, the most even distribution is achieved not by this
1361-
* method or other absolute value methods, but by {@code x & Long.MAX_VALUE}.
1359+
* <p>Note that if your only goal is to turn a well-distributed {@code long} (such as a random
1360+
* number) into a well-distributed nonnegative number, the most even distribution is achieved not
1361+
* by this method or other absolute value methods, but by {@code x & Long.MAX_VALUE}.
13621362
*
13631363
* @since 33.5.0
13641364
*/

0 commit comments

Comments
 (0)