Browse Source

方法说明错误,"字符"应该改为"字母"

方法说明错误,"字符"应该改为"字母"
varyuan 5 years ago
parent
commit
85142b47b8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hutool-core/src/main/java/cn/hutool/core/util/CharUtil.java

+ 2 - 2
hutool-core/src/main/java/cn/hutool/core/util/CharUtil.java

@@ -187,7 +187,7 @@ public class CharUtil {
 	}
 
 	/**
-	 * 是否为字或数字,包括A~Z、a~z、0~9
+	 * 是否为字或数字,包括A~Z、a~z、0~9
 	 *
 	 * <pre>
 	 *   CharUtil.isLetterOrNumber('a')  = true
@@ -199,7 +199,7 @@ public class CharUtil {
 	 * </pre>
 	 *
 	 * @param ch 被检查的字符
-	 * @return true表示为字或数字,包括A~Z、a~z、0~9
+	 * @return true表示为字或数字,包括A~Z、a~z、0~9
 	 */
 	public static boolean isLetterOrNumber(final char ch) {
 		return isLetter(ch) || isNumber(ch);