Changeset 5654 in josm for trunk/src/org
- Timestamp:
- 2013-01-01T19:18:21+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r5648 r5654 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.geom.Area; 6 7 import java.io.IOException; 7 8 import java.util.ArrayList; … … 266 267 targetLayer = getFirstDataLayer(); 267 268 } 268 isUpdateData = targetLayer.data.getDataSourceArea().contains(currentBounds.asRect()); 269 Area dataSourceArea = targetLayer.data.getDataSourceArea(); 270 if (dataSourceArea != null) { 271 isUpdateData = dataSourceArea.contains(currentBounds.asRect()); 272 } 269 273 targetLayer.mergeFrom(dataSet); 270 274 computeBboxAndCenterScale();
Note:
See TracChangeset
for help on using the changeset viewer.