editor now updatable via updateSite
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / store / model / TaxonUtil.java
index 125a4830808ba5b9e110cae2b976854dcb9f1cbd..b33e2d972e488b19db9ffb9419cb3e41b81e8dba 100644 (file)
@@ -42,7 +42,7 @@ public class TaxonUtil {
                // get a new conversation
                ConversationHolder conversation = CdmStore.NewTransactionalConversation();
                // find the taxonBase
-               TaxonBase taxonBase = CdmStore.getTaxonService().findByUuid(taxonUuid);
+               TaxonBase<?> taxonBase = CdmStore.getTaxonService().findByUuid(taxonUuid);
                // delete the taxonBase
                CdmStore.getTaxonService().delete(taxonBase);
                // commit the conversation and throw it away
@@ -50,7 +50,7 @@ public class TaxonUtil {
                return true;
        }
        
-       public static Taxon addChildTaxonBaseIsolated(UUID taxonUuid, TaxonNameBase newTaxonName){
+       public static Taxon addChildTaxonBaseIsolated(UUID taxonUuid, TaxonNameBase<?, ?> newTaxonName){
                // disallow saving of zero length names
                if(newTaxonName.getFullTitleCache().length() == 0){
                        return null;