Changeset 11222 in josm for trunk/src/org
- Timestamp:
- 2016-11-06T13:29:17+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java
r11191 r11222 403 403 404 404 private static Collection<? extends OsmPrimitive> addRelationIfNeeded(Relation r, Collection<? extends OsmPrimitive> primitives) { 405 // Fix #8212 : if the error references only incomplete primitives,406 405 // add multipolygon in order to let user select something and fix the error 407 406 if (!primitives.contains(r)) { 408 for (OsmPrimitive p : primitives) {409 if (!p.isIncomplete()) {410 return primitives;411 }412 }413 407 // Diamond operator does not work with Java 9 here 414 408 @SuppressWarnings("unused")
Note:
See TracChangeset
for help on using the changeset viewer.