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

BuildTTFile.groovy (revision 1688)
152 152
					}
153 153
				}
154 154
				output.close();
155
				parser.close();
156 155
			} catch (XMLStreamException ex) {
157 156
				System.out.println(ex);
158 157
			} catch (IOException ex) {
159 158
				System.out.println("IOException while parsing " + inputData);
160 159
			}
161 160
		}
161
		if (parser != null) parser.close();
162
		if (inputData != null) inputData.close();
162 163
	}
163 164

  
164 165
	/**

Also available in: Unified diff