Ignore:
Timestamp:
2019-04-11T02:04:26+02:00 (6 years ago)
Author:
donvip
Message:

see #josm17580 #josm17581 #josm17582 #josm17583 #josm17584 #josm17585 #josm17586 #josm17587 #josm17588 - remove deprecated api (patches by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java

    r34551 r34972  
    3131import org.openstreetmap.josm.tools.Geometry;
    3232import org.openstreetmap.josm.tools.Geometry.PolygonIntersection;
     33import org.openstreetmap.josm.tools.Utils;
    3334
    3435/**
     
    253254
    254255        List<Way> ways = intersection(
    255                 OsmPrimitive.getFilteredList(segment.firstNode().getReferrers(), Way.class),
    256                 OsmPrimitive.getFilteredList(segment.lastNode().getReferrers(), Way.class));
     256                Utils.filteredCollection(segment.firstNode().getReferrers(), Way.class),
     257                Utils.filteredCollection(segment.lastNode().getReferrers(), Way.class));
    257258        ways.remove(segment);
    258259        for (Iterator<Way> iter = ways.iterator(); iter.hasNext();) {
Note: See TracChangeset for help on using the changeset viewer.