Changeset 12056 in josm


Ignore:
Timestamp:
2017-05-03T21:52:05+02:00 (15 months ago)
Author:
michael2402
Message:

Use node.getParentWays() instead of filtered list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/DataSet.java

    r12055 r12056  
    10111011        beginUpdate();
    10121012        try {
    1013             for (Way way : OsmPrimitive.getFilteredList(node.getReferrers(), Way.class)) {
     1013            for (Way way : node.getParentWays()) {
    10141014                List<Node> wayNodes = way.getNodes();
    10151015                if (wayNodes.remove(node)) {
Note: See TracChangeset for help on using the changeset viewer.