mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix name
This commit is contained in:
@@ -3672,8 +3672,8 @@ public class CharSequenceUtil extends StrValidator {
|
|||||||
* @see String#toLowerCase()
|
* @see String#toLowerCase()
|
||||||
* @since 5.8.38
|
* @since 5.8.38
|
||||||
*/
|
*/
|
||||||
public static String toLoweCase(final CharSequence str) {
|
public static String toLowerCase(final CharSequence str) {
|
||||||
return toLoweCase(str, Locale.getDefault());
|
return toLowerCase(str, Locale.getDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -3685,11 +3685,11 @@ public class CharSequenceUtil extends StrValidator {
|
|||||||
* @see String#toLowerCase()
|
* @see String#toLowerCase()
|
||||||
* @since 6.0.0
|
* @since 6.0.0
|
||||||
*/
|
*/
|
||||||
public static String toLoweCase(final CharSequence str, final Locale locale) {
|
public static String toLowerCase(final CharSequence str, final Locale locale) {
|
||||||
if (null == str) {
|
if (null == str) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if(0 == str.length()){
|
if(str.isEmpty()){
|
||||||
return EMPTY;
|
return EMPTY;
|
||||||
}
|
}
|
||||||
return str.toString().toLowerCase(locale);
|
return str.toString().toLowerCase(locale);
|
||||||
|
Reference in New Issue
Block a user