Ignore:
Timestamp:
2011-12-15T18:35:55+01:00 (13 years ago)
Author:
stoecker
Message:

update to core changes

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

Legend:

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

    r26991 r27243  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4549"/>
     34    <property name="plugin.main.version" value="4645"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java

    r19681 r27243  
    1919import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    2020import org.openstreetmap.josm.io.OsmWriter;
     21import org.openstreetmap.josm.io.OsmWriterFactory;
    2122
    2223/**
     
    5253            System.out.println("AutoSaving osm data to file " + file.getAbsolutePath());
    5354            synchronized(SurveyorLock.class) {
    54                 OsmWriter w = new OsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion());
     55                OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion());
    5556                w.header();
    5657                w.writeDataSources(dataset);
Note: See TracChangeset for help on using the changeset viewer.