Project

General

Profile

« Previous | Next » 

Revision 16856326

Added by Andreas Müller about 6 years ago

Fix bug using external method of NewDefaultReferenceCacheStrategy #5833

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java
17 17
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
18 18
import eu.etaxonomy.cdm.api.service.IReferenceService;
19 19
import eu.etaxonomy.cdm.model.reference.Reference;
20
import eu.etaxonomy.cdm.strategy.cache.reference.ReferenceDefaultCacheStrategy;
20
import eu.etaxonomy.cdm.strategy.cache.reference.NewDefaultReferenceCacheStrategy;
21 21
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard;
22 22
import eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard;
23 23
import eu.etaxonomy.taxeditor.store.CdmStore;
......
87 87
		}else if(cdmObject.getAuthorship() == null){
88 88
			return super.getTitle(cdmObject);
89 89
		}else{
90
			return ReferenceDefaultCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
90
			return NewDefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
91 91
		}
92 92
	}
93 93

  

Also available in: Unified diff