Changeset 12856 in josm for trunk/src/org/openstreetmap/josm/io/CachedFile.java
- Timestamp:
- 2017-09-14T15:09:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r12855 r12856 277 277 return null; 278 278 } else if (name.startsWith("josmdir://")) { 279 cacheFile = new File(Config.getDirs().getUserDataDirectory( ), name.substring("josmdir://".length()));279 cacheFile = new File(Config.getDirs().getUserDataDirectory(false), name.substring("josmdir://".length())); 280 280 } else if (name.startsWith("josmplugindir://")) { 281 281 cacheFile = new File(Main.pref.getPluginsDirectory(), name.substring("josmplugindir://".length())); … … 448 448 } 449 449 if (destDir == null) { 450 destDir = Config.getDirs().getCacheDirectory( ).getPath();450 destDir = Config.getDirs().getCacheDirectory(true).getPath(); 451 451 } 452 452
Note:
See TracChangeset
for help on using the changeset viewer.