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

update to core changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.