Skip to content

Commit 5637d37

Browse files
committed
fix comment
1 parent 8eab38e commit 5637d37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hutool-core/src/main/java/cn/hutool/core/text/CharSequenceUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,12 +780,12 @@ public static boolean startWithAny(CharSequence str, CharSequence... prefixes) {
780780
}
781781

782782
/**
783-
* 给定字符串是否以任何一个字符串结尾(忽略大小写)<br>
783+
* 给定字符串是否以任何一个字符串开始(忽略大小写)<br>
784784
* 给定字符串和数组为空都返回false
785785
*
786786
* @param str 给定字符串
787-
* @param suffixes 需要检测的结尾字符串
788-
* @return 给定字符串是否以任何一个字符串结尾
787+
* @param suffixes 需要检测的开始字符串
788+
* @return 给定字符串是否以任何一个字符串开始
789789
* @since 5.8.1
790790
*/
791791
public static boolean startWithAnyIgnoreCase(final CharSequence str, final CharSequence... suffixes) {

0 commit comments

Comments
 (0)