Revision b6e8ecc0
Added by Andreas Müller over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/synthesysImport/SynthesysCacheActivator.java | ||
---|---|---|
205 | 205 |
// } |
206 | 206 |
taxonName = nvnpi.parseFullName(scientificName); |
207 | 207 |
if (withCdm){ |
208 |
names = app.getNameService().getNamesByName(scientificName);
|
|
208 |
names = app.getNameService().findByName(null, scientificName, null, null, null, null, null, null).getRecords();
|
|
209 | 209 |
if (names.size() == 0){ |
210 | 210 |
System.out.println("Name not found: " + scientificName); |
211 | 211 |
}else{ |
Also available in: Unified diff
Cleanup and remove deprecated method