Ignore:
Timestamp:
2017-11-25T02:02:56+01:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java

    r33558 r33906  
    191191
    192192    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);
    197194        CachedFile tileZip = new CachedFile(getDownloadUrl()).setDestDir(downloadPath.toString());
    198195        return new ZipFile(tileZip.getFile());
Note: See TracChangeset for help on using the changeset viewer.