ICU-10275 Remove fallback hack in C ListFormatter class.
X-SVN-Rev: 36748
This commit is contained in:
parent
89e667b0ea
commit
9dafb86e93
@ -178,12 +178,6 @@ static ListFormatInternal* loadListFormatInternal(
|
||||
rb = ures_getByKeyWithFallback(rb, "listPattern", rb, &errorCode);
|
||||
rb = ures_getByKeyWithFallback(rb, style, rb, &errorCode);
|
||||
|
||||
// TODO(Travis Keep): This is a hack until fallbacks can be added for
|
||||
// listPattern/duration and listPattern/duration-narrow in CLDR.
|
||||
if (errorCode == U_MISSING_RESOURCE_ERROR) {
|
||||
errorCode = U_ZERO_ERROR;
|
||||
rb = ures_getByKeyWithFallback(rb, "standard", rb, &errorCode);
|
||||
}
|
||||
if (U_FAILURE(errorCode)) {
|
||||
ures_close(rb);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user