Ignore:
Timestamp:
2014-06-14T14:05:38+02:00 (11 years ago)
Author:
bastik
Message:

update to [josm7248]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/poly/src/poly/PolyImporter.java

    r28755 r30495  
    2020import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    2121import org.openstreetmap.josm.io.IllegalDataException;
    22 import org.openstreetmap.josm.io.MirroredInputStream;
     22import org.openstreetmap.josm.io.CachedFile;
    2323import org.openstreetmap.josm.io.OsmImporter;
    2424import org.openstreetmap.josm.tools.CheckParameterUtil;
     
    3636
    3737    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);
    3939    }
    4040
Note: See TracChangeset for help on using the changeset viewer.