Changeset 11158 in josm


Ignore:
Timestamp:
2016-10-24T13:48:56+02:00 (8 years ago)
Author:
bastiK
Message:

see #13307 - validator/MultipolygonTest: increase robustness by not using MultipolygonCache (extracted from patch by Gerd Petermann)

File:
1 edited

Legend:

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

    r11157 r11158  
    173173            // Rest of checks is only for complete multipolygons
    174174            if (!r.hasIncompleteMembers()) {
    175                 Multipolygon polygon = MultipolygonCache.getInstance().get(Main.map.mapView, r);
     175                Multipolygon polygon = new Multipolygon(r);
    176176
    177177                // Create new multipolygon using the logics from CreateMultipolygonAction and see if roles match.
Note: See TracChangeset for help on using the changeset viewer.