Changeset 5205 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-04-29T15:47:20+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmImporter.java
r4815 r5205 51 51 @Override 52 52 public void importData(File file, ProgressMonitor progressMonitor) throws IOException, IllegalDataException { 53 FileInputStream in = null; 53 54 try { 54 FileInputStreamin = new FileInputStream(file);55 in = new FileInputStream(file); 55 56 importData(in, file); 56 57 } catch (FileNotFoundException e) { 57 58 e.printStackTrace(); 58 59 throw new IOException(tr("File ''{0}'' does not exist.", file.getName())); 60 } finally { 61 if (in != null) { 62 in.close(); 63 } 59 64 } 60 65 }
Note:
See TracChangeset
for help on using the changeset viewer.