Ignore:
Timestamp:
2019-04-11T02:04:26+02:00 (5 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/simplifyarea/src/org/openstreetmap/josm/plugins/simplifyarea/SimplifyAreaAction.java

    r34586 r34972  
    4040import org.openstreetmap.josm.tools.ImageProvider;
    4141import org.openstreetmap.josm.tools.Shortcut;
     42import org.openstreetmap.josm.tools.Utils;
    4243
    4344public final class SimplifyAreaAction extends JosmAction {
     
    108109            }
    109110        }
    110         final Collection<Way> ways = OsmPrimitive.getFilteredSet(selection, Way.class);
     111        final Collection<Way> ways = Utils.filteredCollection(selection, Way.class);
    111112        if (ways.isEmpty()) {
    112113            alertSelectAtLeastOneWay();
Note: See TracChangeset for help on using the changeset viewer.