Ignore:
Timestamp:
2013-12-31T12:05:47+01:00 (6 years ago)
Author:
simon04
Message:

fix #7196 - Validator: add multipolygon role check

This is done by creating a new multipolygon using the logics from
"Create multipolygon" and see if the roles match.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/CreateMultipolygonAction.java

    r6569 r6575  
    3636import org.openstreetmap.josm.tools.Pair;
    3737import org.openstreetmap.josm.tools.Shortcut;
    38 import org.openstreetmap.josm.tools.Utils;
    3938
    4039/**
     
    147146            // add ways of existing relation to include them in polygon analysis
    148147            selectedWays = new HashSet<Way>(selectedWays);
    149             selectedWays.addAll(Utils.filteredCollection(selectedMultipolygonRelation.getMemberPrimitives(), Way.class));
     148            selectedWays.addAll(selectedMultipolygonRelation.getMemberPrimitives(Way.class));
    150149        }
    151150
Note: See TracChangeset for help on using the changeset viewer.