HHH-13506 - Quickfix

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
Jan Schatteman 2023-06-26 19:42:55 +02:00 committed by Jan Schatteman
parent b6a1aefa6f
commit 95bcd9460f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public final class StringUtil {
}
public static String getUpperUnderscoreCaseFromLowerCamelCase(String lowerCamelCaseString){
return lowerCamelCaseString.replaceAll("(.)(\\p{Upper})", "$1_$2").toUpperCase();
return lowerCamelCaseString.replaceAll("(.)(\\p{Upper})", "$1_$2").toUpperCase(Locale.ROOT);
}
private static boolean startsWithSeveralUpperCaseLetters(String string) {