Project

General

Profile

« Previous | Next » 

Revision db183545

Added by Andreas Müller almost 7 years ago

ref #6630 and ref #6368 remove generics from TaxonName

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/validation/constraint/ChildTaxaMustDeriveNameFromParentValidator.java
35 35
        Taxon child = taxonNode.getTaxon();
36 36

  
37 37
        if (parent != null && child != null && parent.getName() != null && child.getName() != null){
38
            TaxonName<?,?> parentNameBase = CdmBase.deproxy(parent.getName(), TaxonName.class);
39
            TaxonName<?,?> childNameBase = CdmBase.deproxy(child.getName(), TaxonName.class);
38
            TaxonName parentNameBase = CdmBase.deproxy(parent.getName(), TaxonName.class);
39
            TaxonName childNameBase = CdmBase.deproxy(child.getName(), TaxonName.class);
40 40
            if(parentNameBase.isNonViral() && childNameBase.isNonViral()) {
41 41
                INonViralName parentName = parentNameBase;
42 42
                INonViralName childName = childNameBase;

Also available in: Unified diff