Changeset 6582


Ignore:
Timestamp:
09/23/15 09:35:58 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/PostProcessorsWithVocabularyMap.java

    r6581 r6582  
    44import java.io.InputStreamReader;
    55import java.io.Reader;
     6import java.nio.charset.StandardCharsets;
    67import java.util.Map;
    78import java.util.Map.Entry;
     
    4647                        // in the future this should be loaded from CLAVAS directly and the file only used as fallback                 
    4748                        InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl);
    48                         Reader reader = new InputStreamReader(is, "UTF-8");
     49                        Reader reader = new InputStreamReader(is, StandardCharsets.UTF_8);
    4950                        return VariantsMapMarshaller.unmarshal(reader);                 
    5051             } catch (Exception e) {
Note: See TracChangeset for help on using the changeset viewer.