Revision 819 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.buffer/src/main/java/org/gvsig/geoprocess/algorithm/buffer/FuseOperation.java
FuseOperation.java | ||
---|---|---|
148 | 148 |
if (first) { |
149 | 149 |
setFeatureStore(outFeatStore, attrNames); |
150 | 150 |
} |
151 |
Iterator it = featuresSet.iterator();
|
|
151 |
Iterator it = featuresSet.fastIterator();
|
|
152 | 152 |
|
153 | 153 |
numberOfFeatures = (int) featuresSet.getSize(); |
154 | 154 |
|
... | ... | |
162 | 162 |
//Crear lista de elementos |
163 | 163 |
int iCount = 0; |
164 | 164 |
while (it.hasNext() && !process.getTaskMonitor().isCanceled()) { |
165 |
Feature feat = (Feature) it.next();
|
|
165 |
Feature feat = ((Feature) it.next()).getCopy();
|
|
166 | 166 |
Element el = new Element(); |
167 | 167 |
el.feat = feat; |
168 | 168 |
el.id = iCount; |
Also available in: Unified diff