Skip to content

Commit

Permalink
spotted sausage
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Feb 1, 2024
1 parent b324d54 commit 902baaa
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2011,10 +2011,16 @@ public List<String> _getValueAliases(String valueAlias, List<String> result) {
// (long, short, additional aliases).
// For CCC we want to support lookup by long value here, but to
// return (numeric, short, long).
short numericCCC = Utility.lookupShort(valueAlias, UCD_Names.LONG_COMBINING_CLASS, true);
short numericCCC =
Utility.lookupShort(
valueAlias, UCD_Names.LONG_COMBINING_CLASS, true);
result.add(Short.toString(numericCCC));
result.add(Utility.getUnskeleton(UCD_Names.COMBINING_CLASS[numericCCC], true));
result.add(Utility.getUnskeleton(UCD_Names.LONG_COMBINING_CLASS[numericCCC], true));
result.add(
Utility.getUnskeleton(
UCD_Names.COMBINING_CLASS[numericCCC], true));
result.add(
Utility.getUnskeleton(
UCD_Names.LONG_COMBINING_CLASS[numericCCC], true));
return result;
case UCD_Types.BIDI_CLASS >> 8:
return lookup(
Expand Down Expand Up @@ -2383,7 +2389,8 @@ static boolean isWellFormedLanguageTag(String tag) {
for (int i = 0; i < UCD_Names.DECOMPOSITION_TYPE.length; ++i) {
TITLECASE_SHORT_DECOMPOSITION_TYPE[i] =
Utility.getUnskeleton(UCD_Names.DECOMPOSITION_TYPE[i], true);
LONG_TO_LOWERCASE_SHORT_DECOMPOSITION_TYPE.put(UCD_Names.LONG_DECOMPOSITION_TYPE[i], UCD_Names.DECOMPOSITION_TYPE[i]);
LONG_TO_LOWERCASE_SHORT_DECOMPOSITION_TYPE.put(
UCD_Names.LONG_DECOMPOSITION_TYPE[i], UCD_Names.DECOMPOSITION_TYPE[i]);
}
}

Expand Down

0 comments on commit 902baaa

Please sign in to comment.