Changeset 6584


Ignore:
Timestamp:
09/23/15 09:48:14 (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

    r6582 r6584  
    22
    33import java.io.InputStream;
    4 import java.io.InputStreamReader;
    5 import java.io.Reader;
    6 import java.nio.charset.StandardCharsets;
    74import java.util.Map;
    85import java.util.Map.Entry;
     
    4744                        // in the future this should be loaded from CLAVAS directly and the file only used as fallback                 
    4845                        InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl);
    49                         Reader reader = new InputStreamReader(is, StandardCharsets.UTF_8);
    50                         return VariantsMapMarshaller.unmarshal(reader);                 
     46                        return VariantsMapMarshaller.unmarshal(is);                     
    5147             } catch (Exception e) {
    5248            throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset for help on using the changeset viewer.