Skip to content

Commit 4a71d39

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Reduce our usage of HTML <code> tags in Javadoc source.
RELNOTES=n/a PiperOrigin-RevId: 904015651
1 parent 083316e commit 4a71d39

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

android/guava/src/com/google/common/primitives/Doubles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ public String toString() {
757757

758758
/**
759759
* Parses the specified string as a double-precision floating point value. The ASCII character
760-
* {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
760+
* {@code '-'} (U+002D) is recognized as the minus sign.
761761
*
762762
* <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of
763763
* throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link

android/guava/src/com/google/common/primitives/Floats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ float[] toFloatArray() {
706706

707707
/**
708708
* Parses the specified string as a single-precision floating point value. The ASCII character
709-
* {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
709+
* {@code '-'} (U+002D) is recognized as the minus sign.
710710
*
711711
* <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
712712
* throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link

android/guava/src/com/google/common/primitives/Ints.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ int[] toIntArray() {
803803

804804
/**
805805
* Parses the specified string as a signed decimal integer value. The ASCII character {@code '-'}
806-
* (<code>'&#92;u002D'</code>) is recognized as the minus sign.
806+
* (U+002D) is recognized as the minus sign.
807807
*
808808
* <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
809809
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
@@ -824,7 +824,7 @@ int[] toIntArray() {
824824

825825
/**
826826
* Parses the specified string as a signed integer value using the specified radix. The ASCII
827-
* character {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
827+
* character {@code '-'} (U+002D) is recognized as the minus sign.
828828
*
829829
* <p>Unlike {@link Integer#parseInt(String, int)}, this method returns {@code null} instead of
830830
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,

android/guava/src/com/google/common/primitives/Longs.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ static int digit(char c) {
357357
}
358358

359359
/**
360-
* Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
361-
* <code>'&#92;u002D'</code>) is recognized as the minus sign.
360+
* Parses the specified string as a signed decimal long value. The ASCII character {@code '-'}
361+
* (U+002D) is recognized as the minus sign.
362362
*
363363
* <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
364364
* an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
@@ -379,7 +379,7 @@ static int digit(char c) {
379379

380380
/**
381381
* Parses the specified string as a signed long value using the specified radix. The ASCII
382-
* character {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
382+
* character {@code '-'} (U+002D) is recognized as the minus sign.
383383
*
384384
* <p>Unlike {@link Long#parseLong(String, int)}, this method returns {@code null} instead of
385385
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,

android/guava/src/com/google/common/xml/XmlEscapers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* {@code Escaper} instances suitable for strings to be included in XML attribute values and
2323
* elements' text contents. When possible, avoid manual escaping by using templating systems and
2424
* high-level APIs that provide autoescaping. For example, consider <a
25-
* href="http://www.xom.nu/">XOM</a>.
25+
* href="https://www.xom.nu/">XOM</a>.
2626
*
2727
* <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
2828
* outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape

guava/src/com/google/common/primitives/Doubles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ public String toString() {
752752

753753
/**
754754
* Parses the specified string as a double-precision floating point value. The ASCII character
755-
* {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
755+
* {@code '-'} (U+002D) is recognized as the minus sign.
756756
*
757757
* <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of
758758
* throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link

guava/src/com/google/common/primitives/Floats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ float[] toFloatArray() {
706706

707707
/**
708708
* Parses the specified string as a single-precision floating point value. The ASCII character
709-
* {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
709+
* {@code '-'} (U+002D) is recognized as the minus sign.
710710
*
711711
* <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
712712
* throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link

guava/src/com/google/common/primitives/Ints.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ int[] toIntArray() {
798798

799799
/**
800800
* Parses the specified string as a signed decimal integer value. The ASCII character {@code '-'}
801-
* (<code>'&#92;u002D'</code>) is recognized as the minus sign.
801+
* (U+002D) is recognized as the minus sign.
802802
*
803803
* <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
804804
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
@@ -819,7 +819,7 @@ int[] toIntArray() {
819819

820820
/**
821821
* Parses the specified string as a signed integer value using the specified radix. The ASCII
822-
* character {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
822+
* character {@code '-'} (U+002D) is recognized as the minus sign.
823823
*
824824
* <p>Unlike {@link Integer#parseInt(String, int)}, this method returns {@code null} instead of
825825
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,

guava/src/com/google/common/primitives/Longs.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ static int digit(char c) {
357357
}
358358

359359
/**
360-
* Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
361-
* <code>'&#92;u002D'</code>) is recognized as the minus sign.
360+
* Parses the specified string as a signed decimal long value. The ASCII character {@code '-'}
361+
* (U+002D) is recognized as the minus sign.
362362
*
363363
* <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
364364
* an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
@@ -379,7 +379,7 @@ static int digit(char c) {
379379

380380
/**
381381
* Parses the specified string as a signed long value using the specified radix. The ASCII
382-
* character {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
382+
* character {@code '-'} (U+002D) is recognized as the minus sign.
383383
*
384384
* <p>Unlike {@link Long#parseLong(String, int)}, this method returns {@code null} instead of
385385
* throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,

guava/src/com/google/common/xml/XmlEscapers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* {@code Escaper} instances suitable for strings to be included in XML attribute values and
2323
* elements' text contents. When possible, avoid manual escaping by using templating systems and
2424
* high-level APIs that provide autoescaping. For example, consider <a
25-
* href="http://www.xom.nu/">XOM</a>.
25+
* href="https://www.xom.nu/">XOM</a>.
2626
*
2727
* <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
2828
* outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape

0 commit comments

Comments
 (0)