Revision 20598 trunk/libraries/libDataSourceBaseDrivers/src/org/gvsig/data/datastores/vectorial/file/dbf/DBFStore.java
DBFStore.java | ||
---|---|---|
137 | 137 |
public IFeature getFeatureByID(IFeatureID id) throws ReadException { |
138 | 138 |
if (this.alterMode){ |
139 | 139 |
if (featureManager.contains(id)) { |
140 |
try { |
|
141 |
return featureManager.getFeature(id,this); |
|
142 |
} catch (IsNotFeatureSettingException e) { |
|
143 |
throw new ReadException(this.getName(),e); |
|
144 |
} |
|
140 |
return featureManager.getFeature(id,this); |
|
145 | 141 |
} |
146 | 142 |
} |
147 | 143 |
DBFFeature feature=new DBFFeature(getDefaultFeatureType(),this,((DBFFeatureID)id).getIndex()); |
Also available in: Unified diff