Changeset 5730 in josm for trunk


Ignore:
Timestamp:
2013-02-19T15:46:59+01:00 (12 years ago)
Author:
bastiK
Message:

clean up last commit (see #8307, see #8441)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r5729 r5730  
    244244            rememberDownloadedData(dataSet);
    245245            int numDataLayers = getNumDataLayers();
    246             boolean isUpdateData = false;
    247246            if (newLayer || numDataLayers == 0 || (numDataLayers > 1 && getEditLayer() == null)) {
    248247                // the user explicitly wants a new layer, we don't have any layer at all
     
    263262                if (targetLayer == null) {
    264263                    targetLayer = getFirstDataLayer();
    265                 }
    266                 Area dataSourceArea = targetLayer.data.getDataSourceArea();
    267                 if (dataSourceArea != null && currentBounds != null) {
    268                     isUpdateData = dataSourceArea.contains(currentBounds.asRect());
    269264                }
    270265                targetLayer.mergeFrom(dataSet);
Note: See TracChangeset for help on using the changeset viewer.