Revision 13571 trunk/extensions/extRasterTools-SE/src/org/gvsig/fmap/raster/legend/ColorTableLegend.java

View differences:

ColorTableLegend.java
46 46
	 * @return ColorTableLegend
47 47
	 */
48 48
	public static ColorTableLegend createLegend(ColorTable colorTable) {
49
		if (colorTable == null)
50
			return null;
51

  
49 52
		SimpleLineSymbol line = new SimpleLineSymbol();
50 53
		line.setLineColor(Color.BLACK);
51 54
		ISymbol[] symbol = new ISymbol[colorTable.getColorItems().size()];

Also available in: Unified diff