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

update to [josm7248]

Location:
applications/editors/josm/plugins/poly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/poly/build.xml

    r30416 r30495  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="7248"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • 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.