Revision 5d3f4462
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/MisapplicationContainer.java | ||
---|---|---|
17 | 17 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
18 | 18 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship; |
19 | 19 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType; |
20 |
import eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy; |
|
20 | 21 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
21 | 22 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
22 | 23 |
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor; |
... | ... | |
90 | 91 |
if (getMisappliedName().getAppendedPhrase() != null ){ |
91 | 92 |
sec = getMisappliedName().getAppendedPhrase() + " " + sec; |
92 | 93 |
} |
93 |
title += sec + getMisappliedName().getSec().getTitleCache(); |
|
94 |
|
|
95 |
title += sec + getMisappliedName().getSec().getCacheStrategy().getCitation(getMisappliedName().getSec()); |
|
94 | 96 |
} |
95 | 97 |
title += author; |
96 | 98 |
title = title.replace("&", "&&"); |
Also available in: Unified diff
fix #6797: use short sec citation for misapplication string in name editor