Changeset 30495 in osm for applications/editors/josm/plugins/pbf
- Timestamp:
- 2014-06-14T14:05:38+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/build.xml
r30490 r30495 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="7 001"/>5 <property name="plugin.main.version" value="7248"/> 6 6 7 7 <!-- Configure these properties (replace "..." accordingly). -
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.