Changeset 3318 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-06-08T15:50:19+02:00 (14 years ago)
Author:
stoecker
Message:

don't delete old file when loading failed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java

    r3287 r3318  
    266266            String list = downloadPluginList(site, getProgressMonitor().createSubTaskMonitor(0, false));
    267267            if (canceled) return;
     268            siteCacheFiles.remove(createSiteCacheFile(pluginDir, site));
    268269            if(list != null)
    269270            {
    270                 siteCacheFiles.remove(createSiteCacheFile(pluginDir, site));
    271271                getProgressMonitor().worked(1);
    272272                cachePluginList(site, list);
Note: See TracChangeset for help on using the changeset viewer.