Project

General

Profile

Revision cfb8e565

IDcfb8e565217f3a5253f398d71b6711d56371eaf4
Parent 498fa1fa
Child 71fdb84d

Added by Andreas Müller over 3 years ago

minor

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/common/VerbatimTimePeriodTest.java
211 211
        Assert.assertNotNull("Time period must be created",tp);
212 212
    }
213 213

  
214
//  @Ignore
215 214
    @Test
216 215
    public void testSetStart(){
217 216
        Partial startDate = new Partial().with(DateTimeFieldType.year(), 2010)
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/ClassificationDaoHibernateImpl.java
59 59
    public List<TaxonNode> listRankSpecificRootNodes(Classification classification, Rank rank,
60 60
            Integer limit, Integer start, List<String> propertyPaths, int queryIndex){
61 61

  
62
        List<TaxonNode> results = new ArrayList<TaxonNode>();
62
        List<TaxonNode> results = new ArrayList<>();
63 63
        Query[] queries = prepareRankSpecificRootNodes(classification, rank, false);
64 64

  
65 65
        // since this method is using two queries sequentially the handling of limit and start
......
258 258
        //delete all child nodes, then delete the tree
259 259
        if (persistentObject.getRootNode() != null){
260 260
            List<TaxonNode> nodes = persistentObject.getChildNodes();
261
            List<TaxonNode> nodesTmp = new ArrayList<TaxonNode>(nodes);
261
            List<TaxonNode> nodesTmp = new ArrayList<>(nodes);
262 262
            for(TaxonNode node : nodesTmp){
263 263
                persistentObject.deleteChildNode(node, true);
264 264
                taxonNodeDao.delete(node, true);
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/hibernate/permission/CdmPermissionClass.java
50 50
    MEDIAREPRESENTATION,
51 51
    MEDIAREPRESENTATIONPART,
52 52
    NAMEDAREA,
53
    NAMEDAREALEVEL,
53 54
    NAMERELATIONSHIP,
54 55
    NAMETYPEDESIGNATION,
55 56
    NOMENCLATURALSTATUS,
cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/ClassificationDaoHibernateImplTest.java
37 37
/**
38 38
 * @author a.kohlbecker
39 39
 * @since Jun 15, 2015
40
 *
41 40
 */
42 41
public class ClassificationDaoHibernateImplTest extends CdmTransactionalIntegrationTest {
43 42

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)