Changeset 18490 in osm for applications/editors


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

Dataset.version is now Dataset.getVersion()

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

Legend:

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

    r18427 r18490  
    3737                <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/>
    3838                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/>
    39                 <attribute name="Plugin-Mainversion" value="2388"/>
     39                <attribute name="Plugin-Mainversion" value="2396"/>
    4040                <attribute name="Plugin-Requires" value="livegps"/>
    4141                <attribute name="Plugin-Stage" value="60"/>
  • 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.