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

update to [josm7248]

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

Legend:

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

    r30490 r30495  
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="7001"/>
     5    <property name="plugin.main.version" value="7248"/>
    66
    77    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfImporter.java

    r30341 r30495  
    99import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1010import org.openstreetmap.josm.io.IllegalDataException;
    11 import org.openstreetmap.josm.io.MirroredInputStream;
     11import org.openstreetmap.josm.io.CachedFile;
    1212import org.openstreetmap.josm.io.OsmImporter;
    1313import org.openstreetmap.josm.plugins.pbf.PbfConstants;
     
    3030
    3131        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);
    3333        }
    3434}
Note: See TracChangeset for help on using the changeset viewer.