Skip to content

Commit 848c7a6

Browse files
committed
Clarify that the fromHexDigit method does not use the prefix, suffix, delimiter, or uppercase parameter.
1 parent a137740 commit 848c7a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ public boolean isHexDigit(int ch) {
884884
* <li>{@code (ch - 'A' + 10)} for {@code 'A'} through {@code 'F'} inclusive, and
885885
* <li>{@code (ch - 'a' + 10)} for {@code 'a'} through {@code 'f'} inclusive.
886886
* </ul>
887+
* The delimiter, prefix, suffix, and uppercase parameters are not used.
888+
*
887889
* @param ch a character or codepoint
888890
* @return the value {@code 0-15}
889891
* @throws NumberFormatException if the codepoint is not a hexadecimal character

0 commit comments

Comments
 (0)