Changeset 21852 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-06-21T16:26:22+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/ConnectWays.java
r19985 r21852 38 38 public static Command connect(Way way) { 39 39 Map<Way, Way> modifiedWays = new HashMap<Way, Way>(); 40 Li st<Command> cmds = new LinkedList<Command>();40 LinkedList<Command> cmds = new LinkedList<Command>(); 41 41 Way newWay = new Way(way); 42 42 for (int i = 0; i < way.getNodesCount() - 1; i++) { … … 78 78 } 79 79 80 cmds.add (new ChangeCommand(way, trySplitWayByAnyNodes(newWay)));80 cmds.addFirst(new ChangeCommand(way, trySplitWayByAnyNodes(newWay))); 81 81 82 82 Command cmd = new SequenceCommand(tr("Merge objects nodes"), cmds);
Note:
See TracChangeset
for help on using the changeset viewer.