Ignore:
Timestamp:
2018-03-03T16:20:56+01:00 (20 months ago)
Author:
Don-vip
Message:

see #8039, see #10456 - keep layer download/upload/locked flags when saving to .osm file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java

    r13204 r13485  
    2424import org.openstreetmap.josm.data.coor.LatLon;
    2525import org.openstreetmap.josm.data.osm.DataSet;
     26import org.openstreetmap.josm.data.osm.DataSet.DownloadPolicy;
     27import org.openstreetmap.josm.data.osm.DataSet.UploadPolicy;
    2628import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2729import org.openstreetmap.josm.data.osm.Relation;
     
    158160             OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, ds.getVersion())
    159161            ) {
    160             w.header(DataSet.UploadPolicy.DISCOURAGED);
     162            w.header(DownloadPolicy.NORMAL, UploadPolicy.DISCOURAGED);
    161163            w.writeContent(ds);
    162164            w.footer();
Note: See TracChangeset for help on using the changeset viewer.