Project

General

Profile

« Previous | Next » 

Revision b313991f

Added by Andreas Müller over 4 years ago

adapt some classes to new CommonService.getSourcedObjectSByIdInSource and cleanup

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/indexFungorum/IndexFungorumSpeciesImport.java
165 165

  
166 166
			//taxon map
167 167
			nameSpace = NAMESPACE_GENERA;
168
			cdmClass = TaxonBase.class;
169 168
			idSet = taxonIdSet;
170
			@SuppressWarnings({ "unchecked", "rawtypes" })
171
            Map<String, TaxonBase> taxonMap = (Map<String, TaxonBase>)getCommonService().getSourcedObjectsByIdInSource(cdmClass, idSet, nameSpace);
169
			@SuppressWarnings({ "rawtypes" })
170
            Map<String, TaxonBase> taxonMap = getCommonService().getSourcedObjectsByIdInSourceC(TaxonBase.class, idSet, nameSpace);
172 171
			result.put(nameSpace, taxonMap);
173 172

  
174 173
			//sourceReference

Also available in: Unified diff