Revision 2370 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/properties/DataStoreColorInterpretation.java
DataStoreColorInterpretation.java | ||
---|---|---|
138 | 138 |
} |
139 | 139 |
|
140 | 140 |
public boolean hasInterpretation() { |
141 |
if(colorInterpretation == null || colorInterpretation.length < 3)
|
|
141 |
if(colorInterpretation == null) |
|
142 | 142 |
return false; |
143 | 143 |
for (int i = 0; i < colorInterpretation.length; i++) { |
144 | 144 |
if( colorInterpretation[i].equals(RED_BAND) || |
Also available in: Unified diff