Changeset 30495 in osm for applications/editors/josm/plugins/poly/src
- Timestamp:
- 2014-06-14T14:05:38+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/poly/src/poly/PolyImporter.java
r28755 r30495 20 20 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 21 21 import org.openstreetmap.josm.io.IllegalDataException; 22 import org.openstreetmap.josm.io. MirroredInputStream;22 import org.openstreetmap.josm.io.CachedFile; 23 23 import org.openstreetmap.josm.io.OsmImporter; 24 24 import org.openstreetmap.josm.tools.CheckParameterUtil; … … 36 36 37 37 protected DataSet parseDataSet( final String source ) throws IOException, SAXException, IllegalDataException { 38 return parseDataSet(new MirroredInputStream(source), NullProgressMonitor.INSTANCE);38 return parseDataSet(new CachedFile(source).getInputStream(), NullProgressMonitor.INSTANCE); 39 39 } 40 40
Note:
See TracChangeset
for help on using the changeset viewer.