Changeset 30495 in osm for applications/editors/josm/plugins/pbf/src
- Timestamp:
- 2014-06-14T14:05:38+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfImporter.java
r30341 r30495 9 9 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 10 10 import org.openstreetmap.josm.io.IllegalDataException; 11 import org.openstreetmap.josm.io. MirroredInputStream;11 import org.openstreetmap.josm.io.CachedFile; 12 12 import org.openstreetmap.josm.io.OsmImporter; 13 13 import org.openstreetmap.josm.plugins.pbf.PbfConstants; … … 30 30 31 31 protected DataSet parseDataSet(final String source) throws IOException, SAXException, IllegalDataException { 32 return parseDataSet(new MirroredInputStream(source), NullProgressMonitor.INSTANCE);32 return parseDataSet(new CachedFile(source).getInputStream(), NullProgressMonitor.INSTANCE); 33 33 } 34 34 }
Note:
See TracChangeset
for help on using the changeset viewer.