Project

General

Profile

« Previous | Next » 

Revision 1e4c68b2

Added by Andreas Müller almost 2 years ago

ref #10089 handle null values for map and type designation value processor

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/json/processor/value/TypeDesignationSetValueProcessor.java
25 25

  
26 26
    @Override
27 27
    public Object processArrayValue(Object value, JsonConfig jsonConfig) {
28
        if (value == null) {
29
            return null;
30
        }
28 31
        TypeDesignationSet tds = (TypeDesignationSet)value;
29 32
        JSONObject json = new JSONObject();
30 33
        for(TypeDesignationStatusBase<?> key : tds.keySet()){

Also available in: Unified diff