Revision 21535 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialUniqueValueLegend.java
VectorialUniqueValueLegend.java | ||
---|---|---|
563 | 563 |
ReadDriverException { |
564 | 564 |
dataSource = ds; |
565 | 565 |
ds.start(); |
566 |
fieldId = ds.getFieldIndexByName(getClassifyingFieldNames()[0]); |
|
566 |
if (getClassifyingFieldNames()!=null) |
|
567 |
fieldId = ds.getFieldIndexByName(getClassifyingFieldNames()[0]); |
|
567 | 568 |
ds.stop(); |
568 | 569 |
} |
569 | 570 |
|
Also available in: Unified diff