Revision 42488 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/featureset/DefaultFeatureSet.java

View differences:

DefaultFeatureSet.java
408 408
        }
409 409
    }
410 410

  
411
    public DisposableIterator iterator() throws DataException {
412
        return this.iterator(0);
411
    public Iterator<Feature> iterator() {
412
        try {
413
            return this.fastIterator(0);
414
        } catch (DataException ex) {
415
            throw new RuntimeException("Can't obtain itertor.",ex);
416
        }
413 417
    }
414 418

  
415 419
    public DisposableIterator iterator(long index) throws DataException {

Also available in: Unified diff