Revision 1688 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/tigersearch/InjectAnnotations.groovy

InjectAnnotations.groovy (revision 1688)
196 196
					}
197 197
				}
198 198
				output.close();
199
				parser.close();
199
				
200 200
			} catch (XMLStreamException ex) {
201 201
				System.out.println(ex);
202 202
			} catch (IOException ex) {
203 203
				System.out.println("IOException while parsing " + inputData);
204 204
			}
205 205
		}
206
		if (parser != null) parser.close();
207
		if (inputData != null) inputData.close();
206 208
	}
207 209

  
208 210
	/**

Also available in: Unified diff