非推奨のStringUtils.startsWithAnyをやめる

このコミットが含まれているのは:
routersys committed 2026-09-12 11:30:47 +09:00
1 親 497f771125
コミット 1a4a8d2735
1ファイル変更
+2 -1
+2 -1
ファイルの表示
@@ -3,6 +3,7 @@ package com.github.ucchyocean.lc3.japanize;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Strings;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSortedMap;
@@ -352,7 +353,7 @@ public class YukiKanaConverter {
* @since 2.8.10
*/
private static boolean canStartFromSokuon(String romaji) {
return !StringUtils.startsWithAny(romaji, "a", "i", "u", "e", "o", "n");
return !Strings.CS.startsWithAny(romaji, "a", "i", "u", "e", "o", "n");
}
/**