Project

General

Profile

Revision 896cca0d

ID896cca0d6d80e420d4598dc18bbc6e78e3eb46ca
Parent 08bbdc46
Child 7d60d703

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacadeFieldUnitCacheStrategy.java
220 220
		String code = "";
221 221
		if(facade.getCollection() != null){
222 222
			code = facade.getCollection().getCode();
223
			if (CdmUtils.isEmpty(code)){
223
			if (isBlank(code)){
224 224
				Institution institution = facade.getCollection().getInstitute();
225 225
				if (institution != null){
226 226
					code = institution.getCode();
227 227
				}
228
				if (CdmUtils.isEmpty(code)){
228
				if (isBlank(code)){
229 229
					Collection superCollection = facade.getCollection().getSuperCollection();
230 230
					if (superCollection != null){
231 231
						code = superCollection.getCode();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)