Merge pull request #1062 from varyuan/v5-dev

方法说明错误,"字符"应该改为"字母"
This commit is contained in:
Golden Looly 2020-09-04 15:07:50 +08:00 committed by GitHub
commit 974c3b4494
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>
* CharUtil.isLetterOrNumber('a') = true
@ -199,7 +199,7 @@ public class CharUtil {
* </pre>
*
* @param ch 被检查的字符
* @return true表示为字或数字包括A~Za~z0~9
* @return true表示为字或数字包括A~Za~z0~9
*/
public static boolean isLetterOrNumber(final char ch) {
return isLetter(ch) || isNumber(ch);