for (final PhoneCountryCodeData entry : pcountries) {
final String countryCode = pphoneCountryCodes.get(entry.getCountryCode());
if (countryCode.contains("-")) {
final String[] splittedCountryCodes = StringUtils.split(countryCode, '-');
for (final String singleCountryCode : splittedCountryCodes) {
<BUG>addCountryToPhoneMap(pphoneCountryNames, countryPhoneMap, phoneTrunkAndExitCodes, entry,
singleCountryCode);
}</BUG>
} else {
<BUG>addCountryToPhoneMap(pphoneCountryNames, countryPhoneMap, phoneTrunkAndExitCodes, entry,
countryCode);
}</BUG>
}

for (final PhoneCountryCodeData entry : pcountries) {
final String countryCode = pphoneCountryCodes.get(entry.getCountryCode());
if (countryCode.contains("-")) {
final String[] splittedCountryCodes = StringUtils.split(countryCode, '-');
for (final String singleCountryCode : splittedCountryCodes) {
entry.setPhoneCountryData(addCountryToPhoneMap(pphoneCountryNames, countryPhoneMap,
phoneTrunkAndExitCodes, entry, singleCountryCode));
}
} else {
entry.setPhoneCountryData(addCountryToPhoneMap(pphoneCountryNames, countryPhoneMap,
phoneTrunkAndExitCodes, entry, countryCode));
}
}
