Project

General

Profile

« Previous | Next » 

Revision f33355c3

Added by Andreas Müller over 3 years ago

ref #9204 remove commons-lang2 from cdmlib dependencies

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/Identifier.java
21 21
import javax.xml.bind.annotation.XmlSchemaType;
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
import org.hibernate.search.annotations.Field;
......
94 93
		return identifier;
95 94
	}
96 95
	public void setIdentifier(String identifier) {
97
		this.identifier = StringUtils.isBlank(identifier) ? null : identifier;
96
		this.identifier = isBlank(identifier) ? null : identifier;
98 97
	}
99 98

  
100

  
101 99
	/**
102 100
	 * The identifier type. E.g. DOI, LSID, Barcode, Sample Designation, ...
103 101
	 * @see TermType#IdentifierType

Also available in: Unified diff