Changeset 33906 in osm for applications/editors/josm/plugins/canvec_helper/src
- Timestamp:
- 2017-11-25T02:02:56+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java
r33558 r33906 191 191 192 192 private ZipFile openZip() throws IOException { 193 File downloadPath = new File(layer.plugin.getPluginDir() + File.separator); 194 if (!downloadPath.mkdir() && Logging.isDebugEnabled()) { 195 Logging.debug("Unable to create directory: "+downloadPath); 196 } 193 File downloadPath = layer.plugin.getPluginDirs().getUserDataDirectory(true); 197 194 CachedFile tileZip = new CachedFile(getDownloadUrl()).setDestDir(downloadPath.toString()); 198 195 return new ZipFile(tileZip.getFile());
Note:
See TracChangeset
for help on using the changeset viewer.