Browse Source

Added ant modified files

pull/805/head
Mihaela Rosca 10 years ago
parent
commit
0514048a17
2 changed files with 6 additions and 2 deletions
  1. BIN
      java/geocoder/src/com/google/i18n/phonenumbers/timezones/data/map_data
  2. +6
    -2
      java/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java

BIN
java/geocoder/src/com/google/i18n/phonenumbers/timezones/data/map_data View File


+ 6
- 2
java/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java View File

@ -31,10 +31,10 @@ public class CountryCodeToRegionCodeMapForTesting {
// countries sharing a calling code, such as the NANPA countries, the one
// indicated with "isMainCountryForCode" in the metadata should be first.
static Map<Integer, List<String>> getCountryCodeToRegionCodeMap() {
// The capacity is set to 30 as there are 23 different entries,
// The capacity is set to 32 as there are 24 different entries,
// and this offers a load factor of roughly 0.75.
Map<Integer, List<String>> countryCodeToRegionCodeMap =
new HashMap<Integer, List<String>>(30);
new HashMap<Integer, List<String>>(32);
ArrayList<String> listWithRegionCode;
@ -62,6 +62,10 @@ public class CountryCodeToRegionCodeMapForTesting {
listWithRegionCode.add("GG");
countryCodeToRegionCodeMap.put(44, listWithRegionCode);
listWithRegionCode = new ArrayList<String>(1);
listWithRegionCode.add("SE");
countryCodeToRegionCodeMap.put(46, listWithRegionCode);
listWithRegionCode = new ArrayList<String>(1);
listWithRegionCode.add("PL");
countryCodeToRegionCodeMap.put(48, listWithRegionCode);


Loading…
Cancel
Save