Revision c9ec6fc8
Added by Patrick Plitzner over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportNames.java | ||
---|---|---|
151 | 151 |
name.setBinomHybrid(true); |
152 | 152 |
} |
153 | 153 |
else if(hybString.equals(RedListUtil.HYB_XF)){ |
154 |
|
|
154 |
name.setTrinomHybrid(true); |
|
155 | 155 |
} |
156 | 156 |
|
157 | 157 |
|
... | ... | |
267 | 267 |
if(taxNameString.endsWith("agg.")){ |
268 | 268 |
taxNameString = taxNameString.replace("agg.", "aggr."); |
269 | 269 |
} |
270 |
taxNameString = taxNameString.replace("× ", "×");//hybrid sign has no space in titleCache |
|
270 |
if(hybString.equalsIgnoreCase(RedListUtil.HYB_X)){ |
|
271 |
taxNameString = taxNameString.replace("× ", "×");//hybrid sign has no space after it in titleCache for binomial hybrids |
|
272 |
} |
|
271 | 273 |
String nameCache = ((BotanicalName)taxonBase.getName()).getNameCache().trim(); |
272 | 274 |
if(!taxNameString.trim().equals(nameCache)){ |
273 | 275 |
RedListUtil.logMessage(id, "Taxon name inconsistent! taxon.titleCache <-> Column "+RedListUtil.TAXNAME+": "+nameCache+" <-> "+taxNameString, logger); |
Also available in: Unified diff
Set trinomial hybrids #5448