Revision 1688 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/filters/Tokeniser/OneTagPerLine.groovy

OneTagPerLine.groovy (revision 1688)
232 232
							break;
233 233
					}
234 234
				}
235
				output.close();
236
				parser.close();
235
			if (output != null) output.close();
236
			if (parser != null) parser.close();
237
			if (inputData != null) inputData.close();
237 238

  
238 239
				Reader input = new InputStreamReader(new FileInputStream(outfile) , "UTF-8");
239 240
				File temp = new File(outfile.getParent(),"temp");

Also available in: Unified diff