Skip to content

Commit a137740

Browse files
committed
Clarify that the fromHexDigits does not use the uppercase parameter.
1 parent 892d08e commit a137740

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ public int fromHexDigit(int ch) {
900900
* Returns a value parsed from two hexadecimal characters in a string.
901901
* The characters in the range from {@code index} to {@code index + 1},
902902
* inclusive, must be valid hex digits according to {@link #fromHexDigit(int)}.
903-
* The delimiter, prefix and suffix are not used.
903+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
904904
*
905905
* @param string a CharSequence containing the characters
906906
* @param index the index of the first character of the range
@@ -921,7 +921,7 @@ private int fromHexDigits(CharSequence string, int index) {
921921
* Returns the {@code int} value parsed from a string of up to eight hexadecimal characters.
922922
* The hexadecimal characters are parsed from most significant to least significant
923923
* using {@link #fromHexDigit(int)}.
924-
* The delimiter, prefix and suffix are not used.
924+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
925925
*
926926
* @param string a CharSequence containing up to eight hexadecimal characters
927927
* @return the value parsed from the string
@@ -943,7 +943,7 @@ public int fromHexDigits(CharSequence string) {
943943
* characters.
944944
* The characters in the range {@code fromIndex} to {@code toIndex}, exclusive,
945945
* are parsed from most significant to least significant using {@link #fromHexDigit(int)}.
946-
* The delimiter, prefix and suffix are not used.
946+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
947947
*
948948
* @param string a CharSequence containing the characters
949949
* @param fromIndex the initial index of the range, inclusive
@@ -969,7 +969,7 @@ public int fromHexDigits(CharSequence string, int fromIndex, int toIndex) {
969969
* Returns the long value parsed from a string of up to sixteen hexadecimal characters.
970970
* The hexadecimal characters are parsed from most significant to least significant
971971
* using {@link #fromHexDigit(int)}.
972-
* The delimiter, prefix and suffix are not used.
972+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
973973
*
974974
* @param string a CharSequence containing up to sixteen hexadecimal characters
975975
* @return the value parsed from the string
@@ -991,7 +991,7 @@ public long fromHexDigitsToLong(CharSequence string) {
991991
* characters.
992992
* The characters in the range {@code fromIndex} to {@code toIndex}, exclusive,
993993
* are parsed from most significant to least significant using {@link #fromHexDigit(int)}.
994-
* The delimiter, prefix and suffix are not used.
994+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
995995
*
996996
* @param string a CharSequence containing the characters
997997
* @param fromIndex the initial index of the range, inclusive

0 commit comments

Comments
 (0)