Ticket #13923: 13923.patch
File 13923.patch, 914 bytes (added by , 9 years ago) |
---|
-
src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java
405 405 // Fix #8212 : if the error references only incomplete primitives, 406 406 // add multipolygon in order to let user select something and fix the error 407 407 if (!primitives.contains(r)) { 408 for (OsmPrimitive p : primitives) {409 if (!p.isIncomplete()) {410 return primitives;411 }412 }413 408 // Diamond operator does not work with Java 9 here 414 409 @SuppressWarnings("unused") 415 410 List<OsmPrimitive> newPrimitives = new ArrayList<OsmPrimitive>(primitives);