Changeset 11062 in josm for trunk/src/org
- Timestamp:
- 2016-09-27T20:52:25+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java
r11007 r11062 390 390 if (testError.getCode() == DUPLICATE_NODE) return false; 391 391 // cannot merge nodes outside download area 392 if (testError.getPrimitives().iterator().next().isOutsideDownloadArea()) return false; 392 final Iterator<? extends OsmPrimitive> it = testError.getPrimitives().iterator(); 393 if (!it.hasNext() || it.next().isOutsideDownloadArea()) return false; 393 394 // everything else is ok to merge 394 395 return true;
Note:
See TracChangeset
for help on using the changeset viewer.