Changeset 1379 for trunk/autoquest-plugin-html/src/main/java/de/ugoe
- Timestamp:
- 02/12/14 15:08:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java
r1354 r1379 249 249 for (String fileName : parseParams.get("idReplacements")) { 250 250 Properties props = new Properties(); 251 FileInputStream stream = null; 251 252 try { 252 props.load(new FileInputStream(new File(fileName))); 253 stream = new FileInputStream(new File(fileName)); 254 props.load(stream); 253 255 } 254 256 catch (FileNotFoundException e) { … … 257 259 catch (IOException e) { 258 260 throw new SAXException("error reading file " + fileName, e); 261 } 262 finally { 263 if (stream != null) { 264 try { 265 stream.close(); 266 } 267 catch (IOException e) { 268 // ignore 269 } 270 } 259 271 } 260 272
Note: See TracChangeset
for help on using the changeset viewer.