RED-5562 japanse space characters - fixed PMD

This commit is contained in:
Timo Bejan 2022-11-15 00:57:54 +02:00
parent 1ce47b7fbc
commit 20ab65afd2

View File

@ -19,7 +19,7 @@ public class SeparatorUtils {
public static boolean isJapaneseSeparator(char c) { public static boolean isJapaneseSeparator(char c) {
var intValue = (int) c; var intValue = (int) c;
return (intValue >= 12288 && intValue <= 12336) || japaneseAltPunctuationMarks.contains(intValue); return intValue >= 12288 && intValue <= 12336 || japaneseAltPunctuationMarks.contains(intValue);
} }
} }