Revision 42f99e54
Added by Andreas Müller about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailElement.java | ||
---|---|---|
14 | 14 |
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase; |
15 | 15 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
16 | 16 |
import eu.etaxonomy.cdm.model.name.NonViralName; |
17 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
|
17 | 18 |
import eu.etaxonomy.cdm.model.name.ZoologicalName; |
18 | 19 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
19 | 20 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
... | ... | |
121 | 122 |
@Override |
122 | 123 |
public void updateContent() { |
123 | 124 |
if (getEntity() == null) { |
124 |
setEntity(NonViralName.NewInstance(null));
|
|
125 |
setEntity(TaxonNameBase.NewNonViralInstance(null));
|
|
125 | 126 |
} |
126 | 127 |
|
127 | 128 |
super.updateContent(); |
Also available in: Unified diff
ref #6362 and ref #6365 remove some NVN and Bot/Zoo name occurrences in TaxEditor