Revision 19469 trunk/libraries/libDataSourceBaseDrivers/src/org/gvsig/data/datastores/vectorial/driver/shp/ShpFeatureCollection.java

View differences:

ShpFeatureCollection.java
22 22
	}
23 23

  
24 24
	protected class SHPIterator extends DBFFeatureCollection.DBFIterator{
25
		protected IFeatureID createCurrectDriverFeatureID(){
25
		protected IFeatureID createCurrectDriverFeatureID(long pos){
26 26
			if (position<driverFeatureCount){
27
				return new ShpFeatureID((ShpDriver)driver,position);
27
				return new ShpFeatureID((ShpDriver)driver,pos);
28 28
			} else {
29 29
				return null;
30 30
			}

Also available in: Unified diff