Changeset 5982


Ignore:
Timestamp:
02/16/15 13:54:56 (9 years ago)
Author:
teckart@informatik.uni-leipzig.de
Message:

Minor refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/CountryNamePostProcessor.java

    r5345 r5982  
    1818     * http://catalog.clarin.eu/ds/ComponentRegistry/?item=clarin.eu:cr1:c_1271859438104 If no mapping is found the original value is
    1919     * returned.
     20     * @param value extracted "country" value from CMDI file
     21     * @return List of country names
    2022     */
    2123    @Override
     
    2325        String result = value;
    2426        if (result != null) {
    25             Map<String, String> countryCodeMap = getCountryCodeMap();
    26             String name = countryCodeMap.get(value.toUpperCase());
     27            String name = getCountryCodeMap().get(value.toUpperCase());
    2728            if (name != null) {
    2829                result = name;
Note: See TracChangeset for help on using the changeset viewer.