(
Locale language,
IsoUnit unit,
TextWidth width,
PluralCategory category
)
| 459 | } |
| 460 | |
| 461 | private static String lookup( |
| 462 | Locale language, |
| 463 | IsoUnit unit, |
| 464 | TextWidth width, |
| 465 | PluralCategory category |
| 466 | ) { |
| 467 | |
| 468 | try { |
| 469 | return lookup(PROVIDER, language, getID(unit), width, category); |
| 470 | } catch (MissingResourceException mre) { // should not happen |
| 471 | return lookup(FALLBACK, language, getID(unit), width, category); |
| 472 | } |
| 473 | |
| 474 | } |
| 475 | |
| 476 | private static String lookup( |
| 477 | UnitPatternProvider p, |
no test coverage detected