- Timestamp:
- 2019-09-14T16:28:17+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java
r15340 r15349 96 96 LatLon min = new LatLon(bounds.getY()+p, bounds.getX()+p); 97 97 LatLon max = new LatLon(bounds.getY()+bounds.getHeight()-p, bounds.getX()+bounds.getWidth()-p); 98 if (existing.stream().anyMatch(current -> (current.contains(min) && current.contains(max)))) {99 return; / * skip this one, already downloaded */98 if (existing.stream().anyMatch(current -> (current.contains(min) && current.contains(max)))) { 99 return; // skip this one, already downloaded 100 100 } 101 101 }
Note:
See TracChangeset
for help on using the changeset viewer.