Changeset 7033 in josm for trunk/src/org/openstreetmap/josm/actions/SessionLoadAction.java
- Timestamp:
- 2014-05-01T02:34:43+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SessionLoadAction.java
r7004 r7033 153 153 file = File.createTempFile("session_", ".joz", Utils.getJosmTempDir()); 154 154 tempFile = true; 155 FileOutputStream out = new FileOutputStream(file); 156 try { 155 try (FileOutputStream out = new FileOutputStream(file)) { 157 156 Utils.copyStream(is, out); 158 } finally {159 Utils.close(out);160 157 } 161 158 }
Note:
See TracChangeset
for help on using the changeset viewer.