Changeset 15329 in josm for trunk/src/org
- Timestamp:
- 2019-09-01T15:51:59+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r15293 r15329 270 270 return cacheFile; 271 271 initialized = true; 272 if (name == null || name.startsWith("resource://")) { 273 return null; 274 } 272 275 URL url; 273 276 try { … … 286 289 } 287 290 } catch (MalformedURLException e) { 288 if (name == null || name.startsWith("resource://")) { 289 return null; 290 } else if (name.startsWith("josmdir://")) { 291 if (name.startsWith("josmdir://")) { 291 292 cacheFile = new File(Config.getDirs().getUserDataDirectory(false), name.substring("josmdir://".length())); 292 293 } else if (name.startsWith("josmplugindir://")) {
Note:
See TracChangeset
for help on using the changeset viewer.