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

View File

@@ -187,7 +187,7 @@ public class CharUtil {
} }
/** /**
* 是否为字或数字包括A~Z、a~z、0~9 * 是否为字或数字包括A~Z、a~z、0~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~Z、a~z、0~9 * @return true表示为字或数字包括A~Z、a~z、0~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);