Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/excel/SynthesysIO.java | ||
---|---|---|
249 | 249 |
if (fullScientificNameString.indexOf("_code_") != -1) |
250 | 250 |
this.nomenclatureCode = fullScientificNameString.split("_code_")[1]; |
251 | 251 |
|
252 |
if (config.getDoAutomaticParsing()) |
|
252 |
if (config.getDoAutomaticParsing()){
|
|
253 | 253 |
taxonName = this.parseScientificName(scientificName); |
254 |
else taxonName.setTitleCache(scientificName); |
|
254 |
} else { |
|
255 |
taxonName.setTitleCache(scientificName, true); |
|
256 |
} |
|
255 | 257 |
|
256 | 258 |
if (config.getDoReUseTaxon()){ |
257 | 259 |
try{ |
... | ... | |
289 | 291 |
|
290 | 292 |
if(this.nomenclatureCode == null){ |
291 | 293 |
taxonName = NonViralName.NewInstance(null); |
292 |
taxonName.setTitleCache(scientificName); |
|
294 |
taxonName.setTitleCache(scientificName, true);
|
|
293 | 295 |
return taxonName; |
294 | 296 |
} |
295 | 297 |
|
... | ... | |
320 | 322 |
//TODO: parsing of ViralNames? |
321 | 323 |
if(problem){ |
322 | 324 |
taxonName = NonViralName.NewInstance(null); |
323 |
taxonName.setTitleCache(scientificName); |
|
325 |
taxonName.setTitleCache(scientificName, true);
|
|
324 | 326 |
} |
325 | 327 |
return taxonName; |
326 | 328 |
|
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk