Project

General

Profile

Revision a239e477

IDa239e4778ad49f91bb7e7c040b6d361ef5209c3b
Parent d5bfcb5d
Child c1ae6714

Added by Patrick Plitzner over 3 years ago

Avoid dependency to org.codehaus.plexus.util.StringUtils

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/molecular/Sequence.java
33 33
import javax.xml.bind.annotation.XmlType;
34 34

  
35 35
import org.apache.log4j.Logger;
36
import org.codehaus.plexus.util.StringUtils;
37 36
import org.hibernate.annotations.Cascade;
38 37
import org.hibernate.annotations.CascadeType;
39 38
import org.hibernate.envers.Audited;
40 39
import org.hibernate.search.annotations.IndexedEmbedded;
41 40
import org.springframework.beans.factory.annotation.Configurable;
42 41

  
42
import eu.etaxonomy.cdm.common.CdmUtils;
43 43
import eu.etaxonomy.cdm.model.common.AnnotatableEntity;
44 44
import eu.etaxonomy.cdm.model.common.DefinedTerm;
45 45
import eu.etaxonomy.cdm.model.common.TermType;
......
562 562
	}
563 563

  
564 564
	private URI createExternalUri(String baseUri, String id) throws URISyntaxException{
565
		if (StringUtils.isNotBlank(id)){
565
		if (CdmUtils.isNotBlank(id)){
566 566
			return new URI(String.format(baseUri, id.trim()));
567 567
		}else{
568 568
			return null;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)