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/occurrence/GatheringEvent.java
31 31
import javax.xml.bind.annotation.XmlSchemaType;
32 32
import javax.xml.bind.annotation.XmlType;
33 33

  
34
import org.apache.commons.lang.StringUtils;
35 34
import org.apache.log4j.Logger;
36 35
import org.hibernate.annotations.Cascade;
37 36
import org.hibernate.annotations.CascadeType;
......
306 305
	}
307 306

  
308 307
	public void setCollectingMethod(String collectingMethod) {
309
		this.collectingMethod = StringUtils.isBlank(collectingMethod)? null : collectingMethod;
308
		this.collectingMethod = isBlank(collectingMethod)? null : collectingMethod;
310 309
	}
311 310

  
312 311
	public Integer getAbsoluteElevation() {

Also available in: Unified diff