Skip to content

Commit 4866a0a

Browse files
committed
Correct typos in fromHexDigits methods javadoc
1 parent b9e288f commit 4866a0a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/java.base/share/classes/java/util/HexFormat.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public int fromHexDigits(CharSequence string) {
958958
* Returns the {@code int} value parsed from a string range of up to eight hexadecimal
959959
* characters.
960960
* The characters in the range {@code fromIndex} to {@code toIndex}, exclusive,
961-
* are parsed are parsed from most significant to least significant
961+
* are parsed from most significant to least significant
962962
* using {@link #fromHexDigit(int)} to form an unsigned value.
963963
* The value is zero extended to 32 bits and is returned as an {@code int}.
964964
* The delimiter, prefix, suffix, and uppercase parameters are not used.
@@ -996,7 +996,6 @@ public int fromHexDigits(CharSequence string, int fromIndex, int toIndex) {
996996
* The hexadecimal characters are parsed from most significant to least significant
997997
* using {@link #fromHexDigit(int)} to form an unsigned value.
998998
* The value is zero extended to 64 bits and is returned as a {@code long}.
999-
1000999
* The delimiter, prefix, suffix, and uppercase parameters are not used.
10011000
*
10021001
* @apiNote
@@ -1026,7 +1025,7 @@ public long fromHexDigitsToLong(CharSequence string) {
10261025
* Returns the long value parsed from a string range of up to sixteen hexadecimal
10271026
* characters.
10281027
* The characters in the range {@code fromIndex} to {@code toIndex}, exclusive,
1029-
* parsed from most significant to least significant
1028+
* are parsed from most significant to least significant
10301029
* using {@link #fromHexDigit(int)} to form an unsigned value.
10311030
* The value is zero extended to 64 bits and is returned as a {@code long}.
10321031
* The delimiter, prefix, suffix, and uppercase parameters are not used.

0 commit comments

Comments
 (0)