Revision 6305

View differences:

org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.legend/org.gvsig.raster.lib.legend.impl/src/main/java/org/gvsig/raster/lib/legend/impl/DefaultColorInterpretation.java
47 47
        for (int i = 0; i < colorInterpretations.length; i++) {
48 48
            if (!isColorInterpretationValid(colorInterpretations[i])) {
49 49
                throw new IllegalArgumentException(String.format(
50
                    "%1s color interpretation is not defined", colorInterpretations[i]));
50
                    "%1s color interpretation is not valid", colorInterpretations[i]));
51 51
            }
52 52
        }
53 53

  

Also available in: Unified diff