mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
修复CharsequenceUtil
toLowerCase方法拼写错误(issue#3941@Github)
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
### 🐣新特性
|
### 🐣新特性
|
||||||
### 🐞Bug修复
|
### 🐞Bug修复
|
||||||
* 【core 】 修复`NumberUtil`isNumber方法以L结尾没有小数点判断问题(issue#3938@Github)
|
* 【core 】 修复`NumberUtil`isNumber方法以L结尾没有小数点判断问题(issue#3938@Github)
|
||||||
|
* 【core 】 修复`CharsequenceUtil`toLowerCase方法拼写错误(issue#3941@Github)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.38(2025-05-13)
|
# 5.8.38(2025-05-13)
|
||||||
|
@@ -4244,8 +4244,22 @@ public class CharSequenceUtil {
|
|||||||
* @return 转换后的字符串
|
* @return 转换后的字符串
|
||||||
* @see String#toLowerCase()
|
* @see String#toLowerCase()
|
||||||
* @since 5.8.38
|
* @since 5.8.38
|
||||||
|
* @deprecated 拼写错误,请使用 {@link #toLowerCase(CharSequence)}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static String toLoweCase(final CharSequence str) {
|
public static String toLoweCase(final CharSequence str) {
|
||||||
|
return toLowerCase(str);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 将字符串转为小写
|
||||||
|
*
|
||||||
|
* @param str 被转的字符串
|
||||||
|
* @return 转换后的字符串
|
||||||
|
* @see String#toLowerCase()
|
||||||
|
* @since 5.8.39
|
||||||
|
*/
|
||||||
|
public static String toLowerCase(final CharSequence str) {
|
||||||
if (null == str) {
|
if (null == str) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user