Revision 20660 trunk/libraries/libFMap_dataFile/src/org/gvsig/data/datastores/vectorial/file/dbf/DBFFeature.java

View differences:

DBFFeature.java
65 65
		int i=((AttributeDescriptor)descriptor).originalPosition();
66 66
		String value = null;
67 67
		try{
68
			if (store.dbf.getFieldCount()<=i)
69
				return;
70
			value=store.dbf.getStringFieldValue((int) this.featureIndex, i);
68
			value=store.getStringFieldValue((int) this.featureIndex, i);
71 69
		} catch (DataException e){
72 70
			throw new ReadException(this.store.getName(),e);
73 71
		}
......
119 117
		return new DBFFeatureID(this.store,featureIndex);
120 118
	}
121 119

  
122
	public IExtent getExtent() {
120
	public IExtent getExtent(){
123 121
		return null;
124 122
	}
125 123

  

Also available in: Unified diff