Revision 43862 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.impl/src/main/java/org/gvsig/raster/lib/legend/impl/DefaultRasterLegendManager.java

View differences:

DefaultRasterLegendManager.java
219 219
    }
220 220

  
221 221
    @Override
222
    public ColorInterpretation createColorInterpretation(List<String> coloInterpretations) {
223
        String[] x = coloInterpretations.toArray(new String[coloInterpretations.size()]);
224
        return new DefaultColorInterpretation(x);
225
    }
226

  
227
    @Override
222 228
    public ColorInterpretation createColorInterpretation(String definedColorInterpretation) {
223 229
        return new DefaultColorInterpretation(definedColorInterpretation);
224 230
    }

Also available in: Unified diff