Ignore:
Timestamp:
2019-04-13T15:12:48+02:00 (6 years ago)
Author:
donvip
Message:

see #josm17598 #josm17599 #josm17600 #josm17601 #josm17602 - remove deprecated api (patches by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/ConnectWays.java

    r33700 r34976  
    2525import org.openstreetmap.josm.plugins.tracer2.preferences.ServerParam;
    2626import org.openstreetmap.josm.tools.Pair;
     27import org.openstreetmap.josm.tools.Utils;
    2728
    2829public final class ConnectWays {
     
    7071    private static List<Way> getWaysOfNode(Node node) {
    7172        List<Way> ways;
    72         ways = OsmPrimitive.getFilteredList(node.getReferrers(), Way.class);
     73        ways = new LinkedList<>(Utils.filteredCollection(node.getReferrers(), Way.class));
    7374        return ways;
    7475    }
Note: See TracChangeset for help on using the changeset viewer.