ICU-11912 Removing unused method in TimeZoneNamesImpl.
X-SVN-Rev: 38966
This commit is contained in:
parent
bfe100bab8
commit
49809b7559
@ -335,9 +335,8 @@ public class TimeZoneNamesImpl extends TimeZoneNames {
|
||||
public void put(UResource.Key key, UResource.Value value, boolean noFallback) {
|
||||
UResource.Table timeZonesTable = value.getTable();
|
||||
for (int j = 0; timeZonesTable.getKeyAndValue(j, key, value); ++j) {
|
||||
if (value.isNoInheritanceMarker()) {
|
||||
consumeNoFallback(key);
|
||||
} else if (value.getType() == UResourceBundle.TABLE) {
|
||||
assert !value.isNoInheritanceMarker();
|
||||
if (value.getType() == UResourceBundle.TABLE) {
|
||||
consumeNamesTable(key, value, noFallback);
|
||||
} else {
|
||||
// Ignore fields that aren't tables (e.g., fallbackFormat and regionFormatStandard).
|
||||
@ -377,13 +376,6 @@ public class TimeZoneNamesImpl extends TimeZoneNames {
|
||||
}
|
||||
}
|
||||
|
||||
private void consumeNoFallback(UResource.Key key) {
|
||||
if (!keyToLoader.containsKey(key)) {
|
||||
UResource.Key newKey = createKey(key);
|
||||
keyToLoader.put(newKey, ZNamesLoader.DUMMY_LOADER);
|
||||
}
|
||||
}
|
||||
|
||||
UResource.Key createKey(UResource.Key key) {
|
||||
return key.clone();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user