Changeset 27243 in osm for applications/editors/josm/plugins/surveyor
- Timestamp:
- 2011-12-15T18:35:55+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/surveyor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/build.xml
r26991 r27243 32 32 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 549"/>34 <property name="plugin.main.version" value="4645"/> 35 35 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 36 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java
r19681 r27243 19 19 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 20 20 import org.openstreetmap.josm.io.OsmWriter; 21 import org.openstreetmap.josm.io.OsmWriterFactory; 21 22 22 23 /** … … 52 53 System.out.println("AutoSaving osm data to file " + file.getAbsolutePath()); 53 54 synchronized(SurveyorLock.class) { 54 OsmWriter w = newOsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion());55 OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion()); 55 56 w.header(); 56 57 w.writeDataSources(dataset);
Note:
See TracChangeset
for help on using the changeset viewer.