Revision 1594c653
Added by Andreas Müller over 2 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupNomenclatureImport.java | ||
---|---|---|
242 | 242 |
fillName(state, nameMap, name, misappliedRelation, next); |
243 | 243 |
} |
244 | 244 |
handleNomText(state, parentEvent, text, isNameType); |
245 |
state.getDeduplicationHelper().replaceAuthorNamesAndNomRef(state, name);
|
|
245 |
state.getDeduplicationHelper().replaceAuthorNamesAndNomRef(name); |
|
246 | 246 |
handleNameStatus(state, name, next); |
247 | 247 |
state.setNameStatus(null); |
248 | 248 |
return name; |
... | ... | |
663 | 663 |
String classValue, TaxonRelationship misappliedRel, |
664 | 664 |
Reference reference, String microCitation, |
665 | 665 |
XMLEvent parentEvent) { |
666 |
reference = state.getDeduplicationHelper().getExistingReference(state, reference);
|
|
666 |
reference = state.getDeduplicationHelper().getExistingReference(reference); |
|
667 | 667 |
if (misappliedRel != null){ |
668 | 668 |
if (!PUBLICATION.equalsIgnoreCase(classValue)){ |
669 | 669 |
fireWarningEvent("'Usage' not handled correctly for misidentifications", parentEvent, 4); |
Also available in: Unified diff
ref #9890 move importDeduplicationHelper to import state and include state in helper (cont.)