Revision f33355c3
Added by Andreas Müller over 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/NameRelationshipType.java | ||
---|---|---|
21 | 21 |
import javax.xml.bind.annotation.XmlAccessorType; |
22 | 22 |
import javax.xml.bind.annotation.XmlType; |
23 | 23 |
|
24 |
import org.apache.commons.lang.StringUtils; |
|
25 | 24 |
import org.apache.log4j.Logger; |
26 | 25 |
import org.hibernate.envers.Audited; |
27 | 26 |
|
... | ... | |
512 | 511 |
Map<UUID,DefinedTermBase> terms, boolean abbrevAsId) { |
513 | 512 |
NameRelationshipType result = super.readCsvLine(termClass, csvLine, termType, terms, abbrevAsId); |
514 | 513 |
String kindOfString = csvLine.get(10).trim(); |
515 |
if (StringUtils.isNotBlank(kindOfString)){
|
|
514 |
if (isNotBlank(kindOfString)){ |
|
516 | 515 |
UUID uuidKindOf = UUID.fromString(kindOfString); |
517 | 516 |
DefinedTermBase<?> kindOf = terms.get(uuidKindOf); |
518 | 517 |
result.setKindOf((NameRelationshipType)kindOf); |
Also available in: Unified diff
ref #9204 remove commons-lang2 from cdmlib dependencies