Changeset 15588 in josm for trunk/src/org/openstreetmap/josm/io/Compression.java
- Timestamp:
- 2019-12-13T22:12:24+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/Compression.java
r14979 r15588 177 177 public static InputStream getUncompressedFileInputStream(File file) throws IOException { 178 178 try { 179 InputStream in = Files.newInputStream(file.toPath()); 179 InputStream in = Files.newInputStream(file.toPath()); // NOPMD 180 180 try { 181 181 return byExtension(file.getName()).getUncompressedInputStream(in); … … 221 221 */ 222 222 public static OutputStream getCompressedFileOutputStream(File file) throws IOException { 223 OutputStream out = Files.newOutputStream(file.toPath()); 223 OutputStream out = Files.newOutputStream(file.toPath()); // NOPMD 224 224 try { 225 225 return byExtension(file.getName()).getCompressedOutputStream(out);
Note:
See TracChangeset
for help on using the changeset viewer.