Revision 19696
trunk/libraries/libDataSource/src/org/gvsig/data/datastores/vectorial/driver/DriverStore.java | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
|
173 |
|
|
174 | 173 |
commandsfeatures = commands.getCommandsFeatureDeleted().iterator(); |
175 | 174 |
while( commandsfeatures.hasNext() ) { |
176 | 175 |
Object obj=commandsfeatures.next(); |
... | ... | |
188 | 187 |
if (obj instanceof AbstractFeatureCommand){ |
189 | 188 |
IFeature oldFeature = ((UpdateFeatureCommand)obj).getOldFeature(); |
190 | 189 |
IFeature feature = ((UpdateFeatureCommand)obj).getFeature(); |
190 |
if (featureManager.isDeleted(feature)){ |
|
191 |
continue; |
|
192 |
} |
|
191 | 193 |
selectiveWriter.updateFeature(oldFeature,feature); |
192 | 194 |
} |
193 | 195 |
} |
... | ... | |
196 | 198 |
Object obj=commandsfeatures.next(); |
197 | 199 |
if (obj instanceof AbstractFeatureCommand){ |
198 | 200 |
IFeature feature = ((AbstractFeatureCommand)obj).getFeature(); |
201 |
if (featureManager.isDeleted(feature)){ |
|
202 |
continue; |
|
203 |
} |
|
199 | 204 |
selectiveWriter.insertFeature(feature); |
200 | 205 |
} |
201 | 206 |
} |
Also available in: Unified diff