Project

General

Profile

« Previous | Next » 

Revision e6d7b501

Added by Andreas Müller almost 7 years ago

ref #6368 remove TaxonNameBase subclasses

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/json/processor/bean/TaxonNameBaseBeanProcessor.java
14 14

  
15 15
import org.apache.log4j.Logger;
16 16

  
17
import eu.etaxonomy.cdm.model.name.NonViralName;
18 17
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
19 18
import net.sf.json.JSONObject;
20 19
import net.sf.json.JsonConfig;
......
66 65
        if(!skipTaggedName){
67 66
            json.element("taggedName", bean.getTaggedName(), jsonConfig);
68 67
        }
69
        if(bean instanceof NonViralName){
70
            json.element("nameCache", bean.getNameCache(), jsonConfig);
71
        }
68
        json.element("nameCache", bean.getNameCache(), jsonConfig);
72 69
        return json;
73 70
    }
74 71

  

Also available in: Unified diff