Revision da39aca0
Added by Andreas Müller about 7 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/parser/NonViralNameParserImpl.java | ||
---|---|---|
97 | 97 |
boolean isCultivatedPlantName = false; |
98 | 98 |
if ( (isBotanicalName || isCultivatedPlantName) && ! isZoologicalName && !isBacteriologicalName){ |
99 | 99 |
if (isBotanicalName){ |
100 |
result = BotanicalName.NewInstance(rank);
|
|
100 |
result = TaxonNameBase.NewBotanicalInstance(rank);
|
|
101 | 101 |
}else{ |
102 | 102 |
result = CultivarPlantName.NewInstance(rank); |
103 | 103 |
} |
... | ... | |
111 | 111 |
} else { |
112 | 112 |
switch (code) { |
113 | 113 |
case ICNAFP: |
114 |
result = BotanicalName.NewInstance(rank);
|
|
114 |
result = TaxonNameBase.NewBotanicalInstance(rank);
|
|
115 | 115 |
break; |
116 | 116 |
case ICZN: |
117 | 117 |
result = TaxonNameBase.NewZoologicalInstance(rank); |
Also available in: Unified diff
ref #6365 merge static methods from BotanicaName to TaxonNameBase