Ignore:
Timestamp:
2017-09-16T00:43:59+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 12828

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/DataSetUpdater.java

    r33595 r33611  
    1212import org.openstreetmap.josm.Main;
    1313import org.openstreetmap.josm.actions.SimplifyWayAction;
    14 import org.openstreetmap.josm.actions.SplitWayAction;
    15 import org.openstreetmap.josm.actions.SplitWayAction.SplitWayResult;
    1614import org.openstreetmap.josm.command.SequenceCommand;
     15import org.openstreetmap.josm.command.SplitWayCommand;
    1716import org.openstreetmap.josm.data.osm.DataSet;
    1817import org.openstreetmap.josm.data.osm.Node;
     
    6160                    atNodes.add(w.getNode((int) ((i / n) * w.getNodesCount())));
    6261                }
    63                 SplitWayResult res = SplitWayAction.split(w, atNodes, Collections.emptyList());
     62                SplitWayCommand res = SplitWayCommand.split(w, atNodes, Collections.emptyList());
    6463                if (res != null) {
    65                     res.getCommand().executeCommand();
     64                    res.executeCommand();
    6665                }
    6766            }
Note: See TracChangeset for help on using the changeset viewer.