Changeset 5874 in josm for trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
- Timestamp:
- 2013-04-16T19:57:43+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
r5868 r5874 124 124 res = zipFile.getInputStream(resentry); 125 125 } else { 126 zipFile.close();126 Utils.close(zipFile); 127 127 } 128 128 } catch (Exception e) { … … 224 224 bos.write(buffer, 0, length); 225 225 } 226 bos.close();226 Utils.close(bos); 227 227 bos = null; 228 228 /* close fos as well to be sure! */ 229 fos.close();229 Utils.close(fos); 230 230 fos = null; 231 231 localFile = new File(destDir, localPath); … … 304 304 @Override 305 305 public void close() throws IOException 306 { fs.close(); }306 { Utils.close(fs); } 307 307 @Override 308 308 public int read() throws IOException
Note:
See TracChangeset
for help on using the changeset viewer.