Revision d2c73605
Added by Katja Luther almost 12 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiRelTaxonExport.java | ||
---|---|---|
215 | 215 |
} |
216 | 216 |
list = null; |
217 | 217 |
logger.info("End PHASE 2: Name Relationships ..."); |
218 |
|
|
218 |
state.setCurrentFromObject(null); |
|
219 |
state.setCurrentToObject(null); |
|
219 | 220 |
return success; |
220 | 221 |
} |
221 | 222 |
|
... | ... | |
421 | 422 |
// SynonymNameRelationship |
422 | 423 |
success &= saveNameRelationships(state, synonym); |
423 | 424 |
} |
425 |
state.setCurrentFromObject(null); |
|
424 | 426 |
return success; |
425 | 427 |
} |
426 | 428 |
|
... | ... | |
439 | 441 |
state.setCurrentToObject(taxonBase); |
440 | 442 |
isFrom = false; |
441 | 443 |
success &= saveOneSideNameRelation(state, isFrom, nameRelations); |
442 |
|
|
444 |
state.setCurrentToObject(null); |
|
443 | 445 |
return success; |
444 | 446 |
} |
445 | 447 |
|
... | ... | |
474 | 476 |
doCount(count++, modCount, pluralString); |
475 | 477 |
success &= mapping.invoke(nameRelation); |
476 | 478 |
} |
479 |
state.setCurrentFromObject(null); |
|
480 |
state.setCurrentToObject(null); |
|
477 | 481 |
return success; |
478 | 482 |
} |
479 | 483 |
|
Also available in: Unified diff