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

方法说明错误,"字符"应该改为"字母"
This commit is contained in:
varyuan 2020-09-03 21:02:36 +08:00 committed by GitHub
parent 98af280dad
commit 85142b47b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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