Changeset 5982
- Timestamp:
- 02/16/15 13:54:56 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/trunk/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/CountryNamePostProcessor.java
r5345 r5982 18 18 * http://catalog.clarin.eu/ds/ComponentRegistry/?item=clarin.eu:cr1:c_1271859438104 If no mapping is found the original value is 19 19 * returned. 20 * @param value extracted "country" value from CMDI file 21 * @return List of country names 20 22 */ 21 23 @Override … … 23 25 String result = value; 24 26 if (result != null) { 25 Map<String, String> countryCodeMap = getCountryCodeMap(); 26 String name = countryCodeMap.get(value.toUpperCase()); 27 String name = getCountryCodeMap().get(value.toUpperCase()); 27 28 if (name != null) { 28 29 result = name;
Note: See TracChangeset
for help on using the changeset viewer.