Ignore:
Timestamp:
2009-11-07T14:48:41+01:00 (15 years ago)
Author:
jttt
Message:

Dataset.version is now Dataset.getVersion()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java

    r16409 r18490  
    2121import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    2222import org.openstreetmap.josm.io.OsmWriter;
    23 import org.openstreetmap.josm.io.XmlWriter;
    2423
    2524/**
     
    5554            System.out.println("AutoSaving osm data to file " + file.getAbsolutePath());
    5655            synchronized(LiveGpsLock.class) {
    57                 OsmWriter w = new OsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.version);
     56                OsmWriter w = new OsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion());
    5857                w.header();
    5958                w.writeDataSources(dataset);
Note: See TracChangeset for help on using the changeset viewer.