Changeset 744 for trunk/quest-core-events/src/main/java/de/ugoe
- Timestamp:
- 09/03/12 10:19:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/GUIElementFactory.java
r739 r744 229 229 mappingsFile.getName().endsWith(".txt")) 230 230 { 231 InputStream inStream ;231 InputStream inStream = null; 232 232 try { 233 233 inStream = new FileInputStream(mappingsFile); 234 234 mappingsFromConfiguration.load(inStream); 235 inStream.close();236 235 } 237 236 catch (FileNotFoundException e) { … … 243 242 ("could not read mapping configuration file " + mappingsFile, e); 244 243 } 244 finally { 245 if (inStream != null) { 246 try { 247 inStream.close(); 248 } 249 catch (IOException e) { 250 // ignore 251 } 252 } 253 } 245 254 } 246 255 }
Note: See TracChangeset
for help on using the changeset viewer.