Changeset 6582
- Timestamp:
- 09/23/15 09:35:58 (9 years ago)
- 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 4 4 import java.io.InputStreamReader; 5 5 import java.io.Reader; 6 import java.nio.charset.StandardCharsets; 6 7 import java.util.Map; 7 8 import java.util.Map.Entry; … … 46 47 // in the future this should be loaded from CLAVAS directly and the file only used as fallback 47 48 InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl); 48 Reader reader = new InputStreamReader(is, "UTF-8");49 Reader reader = new InputStreamReader(is, StandardCharsets.UTF_8); 49 50 return VariantsMapMarshaller.unmarshal(reader); 50 51 } catch (Exception e) {
Note: See TracChangeset
for help on using the changeset viewer.