Revision 1688 tmp/org.txm.core/src/java/org/txm/scripts/importer/WExtractWithMode.groovy

WExtractWithMode.groovy (revision 1688)
295 295
		writer.flush();
296 296
		writer.close();
297 297
		output.close()
298
		inputData.close();
298
		if (parser != null) parser.close();
299
		if (inputData != null) inputData.close();
299 300
	}
300 301
	
301 302
	/**
......
320 321
						count++;
321 322
			}
322 323
		}
323
		inputData.close()
324
		if (parser != null) parser.close();
325
		if (inputData != null) inputData.close();
324 326
		return count;
325 327
	}
326 328
	

Also available in: Unified diff