Changeset 14654 in josm for trunk/src/org/openstreetmap/josm/command/SplitWayCommand.java
- Timestamp:
- 2019-01-06T20:22:48+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SplitWayCommand.java
r14143 r14654 8 8 import java.util.Arrays; 9 9 import java.util.Collection; 10 import java.util.Collections; 10 11 import java.util.HashSet; 11 12 import java.util.Iterator; … … 297 298 // now copy all relations to new way also 298 299 299 for (Relation r : OsmPrimitive.get FilteredList(way.getReferrers(), Relation.class)) {300 for (Relation r : OsmPrimitive.getParentRelations(Collections.singleton(way))) { 300 301 if (!r.isUsable()) { 301 302 continue;
Note:
See TracChangeset
for help on using the changeset viewer.