Project

General

Profile

Revision aa8405de

IDaa8405de2a401952a301e71ef6c149e3b9a6706f
Parent e7eb9f3d
Child a38e2585

Added by Andreas Müller about 2 months ago

cleanup

View differences:

cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/name/TaxonNameDaoHibernateImplTest.java
147 147
        TaxonName acherontiaLachesis = taxonNameDao.findByUuid(acherontiaLachesisUuid);
148 148
        assert acherontiaLachesis != null : "name must exist";
149 149

  
150
        @SuppressWarnings("rawtypes")
150 151
        List<TypeDesignationBase> result1 = taxonNameDao.getTypeDesignations(acherontiaLachesis, null, null, null, null, null);
151 152

  
152 153
        assertNotNull("getTypeDesignations should return a list",result1);
......
319 320
    @Test
320 321
    public void testDeleteTaxon(){
321 322
        TaxonName acherontiaLachesis = CdmBase.deproxy(taxonNameDao.findByUuid(cryptocoryneGriffithiiUuid));
323
        @SuppressWarnings("rawtypes")
322 324
        Set<TaxonBase> taxonBases = acherontiaLachesis.getTaxonBases();
323 325
        HomotypicalGroup group = acherontiaLachesis.getHomotypicalGroup();
324 326
        UUID groupUuid = group.getUuid();
325 327
        taxonNameDao.delete(acherontiaLachesis);
326 328

  
329
        @SuppressWarnings("rawtypes")
327 330
        Iterator<TaxonBase> taxa= taxonBases.iterator();
328 331
        TaxonBase<?> taxon = taxa.next();
329 332
        UUID taxonUuid = taxon.getUuid();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)