diff options
Diffstat (limited to 'libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java')
-rw-r--r-- | libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java b/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java index 0c2188e8..a68d45fe 100644 --- a/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java +++ b/libphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java @@ -30,11 +30,11 @@ public class CountryCodeToRegionCodeMapForTesting { // country/region represented by that country code. In the case of multiple // 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 37 as there are 28 different entries, + public static Map<Integer, List<String>> getCountryCodeToRegionCodeMap() { + // The capacity is set to 38 as there are 29 different entries, // and this offers a load factor of roughly 0.75. Map<Integer, List<String>> countryCodeToRegionCodeMap = - new HashMap<Integer, List<String>>(37); + new HashMap<Integer, List<String>>(38); ArrayList<String> listWithRegionCode; @@ -86,6 +86,10 @@ public class CountryCodeToRegionCodeMapForTesting { listWithRegionCode.add("BR"); countryCodeToRegionCodeMap.put(55, listWithRegionCode); + listWithRegionCode = new ArrayList<String>(1); + listWithRegionCode.add("CO"); + countryCodeToRegionCodeMap.put(57, listWithRegionCode); + listWithRegionCode = new ArrayList<String>(3); listWithRegionCode.add("AU"); listWithRegionCode.add("CC"); |