- Timestamp:
- 2019-04-10T10:09:49+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/importexport/OsmExporter.java
r14950 r14982 11 11 import java.io.Writer; 12 12 import java.nio.charset.StandardCharsets; 13 import java.nio.file.AccessDeniedException; 13 14 import java.nio.file.InvalidPathException; 14 15 import java.text.MessageFormat; … … 86 87 File tmpFile = null; 87 88 try { 89 if (file.exists() && !file.canWrite()) { 90 throw new AccessDeniedException(file.toString()); 91 } 88 92 89 93 // use a tmp file because if something errors out in the process of writing the file,
Note:
See TracChangeset
for help on using the changeset viewer.