Ignore:
Timestamp:
2011-12-15T18:16:10+01:00 (13 years ago)
Author:
stoecker
Message:

update to support core changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java

    r25841 r27242  
    6363import org.openstreetmap.josm.io.GpxWriter;
    6464import org.openstreetmap.josm.io.OsmWriter;
     65import org.openstreetmap.josm.io.OsmWriterFactory;
    6566import org.openstreetmap.josm.plugins.Plugin;
    6667import org.openstreetmap.josm.plugins.PluginInformation;
     
    499500                                try { printWriter = new PrintWriter(new OutputStreamWriter(outputStream, "utf-8")); }
    500501                                catch (Exception e) {e.printStackTrace();}
    501                                 final OsmWriter osmWriter = new OsmWriter(printWriter, true, null);
     502                                final OsmWriter osmWriter = OsmWriterFactory.createOsmWriter(printWriter, true, null);
    502503                                Collection<OsmPrimitive> refObjects = currentCommand.getDepsObjects();
    503504                                Collection<OsmPrimitive> pObjects;
Note: See TracChangeset for help on using the changeset viewer.