Revision 1253 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.java

View differences:

DefaultStrategy.java
226 226
			if (visitor.start(capa)) {
227 227
				VectorialAdapter va = ((SingleLayer) capa).getSource();
228 228

  
229
				va.start();
229 230
				for (int i = 0; i < va.getShapeCount(); i++) {
230 231
					if (subset.get(i)) {
231 232
						visitor.visit(va.getShape(i), i);
232 233
					}
233 234
				}
235
				va.stop();
234 236

  
235 237
				logger.debug("visitor.stop()");
236 238
				visitor.stop(capa);
......
258 260
			if (visitor.start(capa)) {
259 261
				VectorialAdapter va = ((SingleLayer) capa).getSource();
260 262

  
263
				va.start();
261 264
				for (int i = 0; i < va.getShapeCount(); i++) {
262 265
					visitor.visit(va.getShape(i), i);
263 266
				}
264

  
267
				va.stop();
265 268
				logger.debug("visitor.stop()");
266 269
				visitor.stop(capa);
267 270
			}

Also available in: Unified diff