Changeset 12062 in josm for trunk


Ignore:
Timestamp:
2017-05-05T16:14:03+02:00 (8 years ago)
Author:
michael2402
Message:

DataSet: Replace manual node filtering by getNodes()

File:
1 edited

Legend:

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

    r12058 r12062  
    5656import org.openstreetmap.josm.tools.ListenerList;
    5757import org.openstreetmap.josm.tools.SubclassFilteredCollection;
    58 import org.openstreetmap.josm.tools.Utils;
    5958
    6059/**
     
    12311230        try {
    12321231            beginUpdate();
    1233             for (Node n: Utils.filteredCollection(allPrimitives, Node.class)) {
     1232            for (Node n: getNodes()) {
    12341233                n.invalidateEastNorthCache();
    12351234            }
Note: See TracChangeset for help on using the changeset viewer.