From 16856326a129bdbad60fa4b33aacb67f28af04c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20M=C3=BCller?= Date: Thu, 26 May 2016 16:11:26 +0200 Subject: [PATCH] Fix bug using external method of NewDefaultReferenceCacheStrategy #5833 --- .../ui/dialog/selection/ReferenceSelectionDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java index a4754ca91..f2b547dd6 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java @@ -17,7 +17,7 @@ import org.eclipse.swt.widgets.Shell; import eu.etaxonomy.cdm.api.conversation.ConversationHolder; import eu.etaxonomy.cdm.api.service.IReferenceService; import eu.etaxonomy.cdm.model.reference.Reference; -import eu.etaxonomy.cdm.strategy.cache.reference.ReferenceDefaultCacheStrategy; +import eu.etaxonomy.cdm.strategy.cache.reference.NewDefaultReferenceCacheStrategy; import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard; import eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard; import eu.etaxonomy.taxeditor.store.CdmStore; @@ -87,7 +87,7 @@ public class ReferenceSelectionDialog extends AbstractFilteredCdmResourceSelecti }else if(cdmObject.getAuthorship() == null){ return super.getTitle(cdmObject); }else{ - return ReferenceDefaultCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache()); + return NewDefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache()); } } -- 2.34.1