Changeset 5388 in josm
- Timestamp:
- 2012-08-01T11:41:55+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r5381 r5388 262 262 for (Iterator<ImageryInfo> iti = layers.iterator(); iti.hasNext(); ) { 263 263 List<Shape> shapes = iti.next().getBounds().getShapes(); 264 if (shapes != null ) {264 if (shapes != null && !shapes.isEmpty()) { 265 265 boolean found = false; 266 266 for (Iterator<Shape> its = shapes.iterator(); its.hasNext() && !found; ) { … … 272 272 } 273 273 } 274 274 275 275 if (layers.isEmpty()) { 276 276 return;
Note:
See TracChangeset
for help on using the changeset viewer.