Index: trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java	(revision 15349)
+++ trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java	(revision 15350)
@@ -21,5 +21,4 @@
 
 import org.openstreetmap.josm.actions.downloadtasks.DownloadTaskList;
-import org.openstreetmap.josm.data.Bounds;
 import org.openstreetmap.josm.data.coor.LatLon;
 import org.openstreetmap.josm.data.osm.DataSet;
@@ -91,12 +90,9 @@
             DataSet ds = MainApplication.getLayerManager().getEditDataSet();
             if (ds != null) {
-                Collection<Bounds> existing = ds.getDataSourceBounds();
-                if (existing != null) {
-                    double p = LatLon.MAX_SERVER_PRECISION;
-                    LatLon min = new LatLon(bounds.getY()+p, bounds.getX()+p);
-                    LatLon max = new LatLon(bounds.getY()+bounds.getHeight()-p, bounds.getX()+bounds.getWidth()-p);
-                    if (existing.stream().anyMatch(current -> (current.contains(min) && current.contains(max)))) {
-                        return; // skip this one, already downloaded
-                    }
+                double p = LatLon.MAX_SERVER_PRECISION;
+                LatLon min = new LatLon(bounds.getY()+p, bounds.getX()+p);
+                LatLon max = new LatLon(bounds.getY()+bounds.getHeight()-p, bounds.getX()+bounds.getWidth()-p);
+                if (ds.getDataSourceBounds().stream().anyMatch(current -> (current.contains(min) && current.contains(max)))) {
+                    return; // skip this one, already downloaded
                 }
             }
