Revision 64cf9d1d
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/Feature.java | ||
---|---|---|
655 | 655 |
* @see #NewInstance(String, String, String) |
656 | 656 |
*/ |
657 | 657 |
@Override |
658 |
public Feature readCsvLine(Class<Feature> termClass, List<String> csvLine, Map<UUID,DefinedTermBase> terms, boolean abbrevAsId) { |
|
659 |
Feature newInstance = super.readCsvLine(termClass, csvLine, terms, abbrevAsId); |
|
658 |
public Feature readCsvLine(Class<Feature> termClass, List<String> csvLine, TermType termType, |
|
659 |
Map<UUID,DefinedTermBase> terms, boolean abbrevAsId) { |
|
660 |
Feature newInstance = super.readCsvLine(termClass, csvLine, termType, terms, abbrevAsId); |
|
660 | 661 |
String text = csvLine.get(4); |
661 | 662 |
if (text != null && text.length() >= 6){ |
662 | 663 |
if ("1".equals(text.substring(0, 1))){newInstance.setSupportsTextData(true);} |
Also available in: Unified diff
ref #6794 fix early setting of termType during term loading