mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-13248 simplify a titlecasing call site
X-SVN-Rev: 40901
This commit is contained in:
parent
64fd53cd95
commit
bfcedd7774
1 changed files with 1 additions and 2 deletions
|
@ -91,8 +91,7 @@ public class LocaleDisplayNamesImpl extends LocaleDisplayNames {
|
|||
CaseMap.toTitle().wholeString().noLowercase();
|
||||
|
||||
private static String toTitleWholeStringNoLowercase(ULocale locale, String s) {
|
||||
return TO_TITLE_WHOLE_STRING_NO_LOWERCASE.apply(
|
||||
locale.toLocale(), null, s, new StringBuilder(), null).toString();
|
||||
return TO_TITLE_WHOLE_STRING_NO_LOWERCASE.apply(locale.toLocale(), null, s);
|
||||
}
|
||||
|
||||
public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) {
|
||||
|
|
Loading…
Add table
Reference in a new issue