This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new e2670361e Corrected the method name in Javadoc examples (#1444)
e2670361e is described below
commit e2670361ef44764d1036bfc374f85695f3c6ae82
Author: mayuming <[email protected]>
AuthorDate: Sat Sep 6 22:25:46 2025 +0800
Corrected the method name in Javadoc examples (#1444)
* Javadoc
Correct Javadoc return type description
* Javadoc
Corrected the method name in Javadoc examples
---
.../java/org/apache/commons/lang3/CharUtils.java | 24 +++++++++++-----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/CharUtils.java
b/src/main/java/org/apache/commons/lang3/CharUtils.java
index 51765655f..aeebe2d4f 100644
--- a/src/main/java/org/apache/commons/lang3/CharUtils.java
+++ b/src/main/java/org/apache/commons/lang3/CharUtils.java
@@ -229,18 +229,18 @@ public static boolean isAsciiPrintable(final char ch) {
* Tests whether a character is a hexadecimal character.
*
* <pre>
- * CharUtils.isAsciiPrintable('0') = true
- * CharUtils.isAsciiPrintable('9') = true
- * CharUtils.isAsciiPrintable('a') = true
- * CharUtils.isAsciiPrintable('f') = true
- * CharUtils.isAsciiPrintable('g') = false
- * CharUtils.isAsciiPrintable('A') = true
- * CharUtils.isAsciiPrintable('F') = true
- * CharUtils.isAsciiPrintable('G') = false
- * CharUtils.isAsciiPrintable('3') = false
- * CharUtils.isAsciiPrintable('-') = false
- * CharUtils.isAsciiPrintable('\n') = false
- * CharUtils.isAsciiPrintable('©') = false
+ * CharUtils.isHex('0') = true
+ * CharUtils.isHex('9') = true
+ * CharUtils.isHex('a') = true
+ * CharUtils.isHex('f') = true
+ * CharUtils.isHex('g') = false
+ * CharUtils.isHex('A') = true
+ * CharUtils.isHex('F') = true
+ * CharUtils.isHex('G') = false
+ * CharUtils.isHex('3') = false
+ * CharUtils.isHex('-') = false
+ * CharUtils.isHex('\n') = false
+ * CharUtils.isHex('©') = false
* </pre>
*
* @param ch the character to test.