Changeset 6516


Ignore:
Timestamp:
09/21/15 14:27:44 (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

    r6514 r6516  
    99
    1010import eu.clarin.cmdi.vlo.pojo.VariantsMap;
     11import eu.clarin.cmdi.vlo.transformers.VariantsMapMarshaller;
    1112
    1213/*
     
    4243                    // load records from file
    4344                        // in the future this should be loaded from CLAVAS directly and the file only used as fallback                 
    44                         InputStream is = PostProcessorsWithVocabularyMap.class.getResourceAsStream(mapUrl);     
    45                         return (VariantsMap) VLOMarshaller.unmarshal(is, VariantsMap.class);
     45                        InputStream is = PostProcessorsWithVocabularyMap.class.getResourceAsStream(mapUrl);
     46                        return VariantsMapMarshaller.unmarshal(is);                     
    4647             } catch (Exception e) {
    4748            throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset for help on using the changeset viewer.