Changeset 27243 in osm for applications/editors/josm/plugins/surveyor/src
- Timestamp:
- 2011-12-15T18:35:55+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.