Changeset 31527 in osm for applications/editors
- Timestamp:
- 2015-08-24T22:36:59+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/rasterfilters/src/org/openstreetmap/josm/plugins/rasterfilters/preferences/FiltersDownloader.java
r31509 r31527 287 287 288 288 File file = new File(pluginDir, "urls.map"); 289 Main.debug("pluginDir and urls map" + file.getAbsoluteFile()); 289 290 290 291 FileWriter fileWriter = null; … … 339 340 String localFile = null; 340 341 File plugin = new File(pluginDir); 342 Main.debug("plugin dir" + plugin.getAbsolutePath()); 341 343 342 344 if (m.find()) { … … 345 347 346 348 localFile = fromUrl.substring(m.end()); 347 349 Main.debug("localFile: " + localFile); 348 350 } 349 351 } … … 354 356 String plugDir = plugin.getAbsolutePath(); 355 357 File file = new File(plugDir, localFile); 358 Main.debug("Binary file: " + file.getAbsolutePath()); 356 359 357 360 if (file.exists()) { 358 361 Main.debug("File " + localFile + " already exists"); 359 362 360 return localFile;363 return file.getAbsolutePath(); 361 364 } else { 362 365
Note:
See TracChangeset
for help on using the changeset viewer.