Ignore:
Timestamp:
2009-08-10T13:17:42+02:00 (15 years ago)
Author:
stoecker
Message:

minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java

    r16964 r16965  
    150150                    // find out whether some data has already been downloaded
    151151                    Area present = null;
    152                     if (Main.main.getCurrentDataSet() != null)
    153                         present = Main.main.getCurrentDataSet().getDataSourceArea();
     152                    DataSet ds = Main.main.getCurrentDataSet();
     153                    if (ds != null)
     154                        present = ds.getDataSourceArea();
    154155                    if (present != null && !present.isEmpty()) {
    155156                        Area toDownload = new Area(new Rectangle2D.Double(minlon,minlat,maxlon-minlon,maxlat-minlat));
Note: See TracChangeset for help on using the changeset viewer.