import eu.etaxonomy.cdm.persistence.dao.taxon.IClassificationDao;\r
import eu.etaxonomy.cdm.persistence.dao.taxon.ITaxonDao;\r
import eu.etaxonomy.cdm.persistence.dao.taxon.ITaxonNodeDao;\r
-import eu.etaxonomy.cdm.persistence.dto.MergeResult;\r
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto;\r
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;\r
\r
Query query = getSession().createQuery(queryStr);\r
@SuppressWarnings("unchecked")\r
List<T> synonymList = query.list();\r
- MergeResult mergeResult;\r
Set<T> result = new HashSet<>();\r
for (T taxonBase : synonymList){\r
if (taxonBase != null){\r
- taxonBase = (T) taxonDao.load(taxonBase.getUuid());\r
taxonBase.setSec(newSec);\r
if (emptyDetail){\r
taxonBase.setSecMicroReference(null);\r