Changeset 36337 in osm
- Timestamp:
- 2024-09-19T17:34:50+02:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/session/OpenDataSessionImporter.java
r35139 r36337 21 21 OsmDataSessionImporter.checkMetaVersion(elem); 22 22 String fileStr = OsmDataSessionImporter.extractFileName(elem, support); 23 File pathname = new File(fileStr.startsWith("file: /") ? fileStr.replace("file:/", "") : fileStr);23 File pathname = new File(fileStr.startsWith("file:") ? fileStr.replace("file:", "") : fileStr); 24 24 for (AbstractImporter importer : OdPlugin.getInstance().importers) { 25 25 if (importer.acceptFile(pathname)) {
Note:
See TracChangeset
for help on using the changeset viewer.