Ignore:
Timestamp:
2014-01-02T22:45:23+01:00 (10 years ago)
Author:
simon04
Message:

see #9492 - split "Create Multipolyon" in % and "Update Multipolygon"; for the latter obtain the relation from the selected ways (if unambiguous)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java

    r6575 r6597  
    184184
    185185            // Create new multipolygon using the logics from CreateMultipolygonAction and see if roles match.
    186             final Pair<Relation, Relation> newMP = CreateMultipolygonAction.createMultipolygonRelation(
    187                     r.getMemberPrimitives(Way.class), Collections.singleton(new Relation()));
     186            final Pair<Relation, Relation> newMP = CreateMultipolygonAction.createMultipolygonRelation(r.getMemberPrimitives(Way.class));
    188187            if (newMP != null) {
    189188                for (RelationMember member : r.getMembers()) {
Note: See TracChangeset for help on using the changeset viewer.