Changeset 3318 in josm


Ignore:
Timestamp:
Jun 8, 2010 3:50:19 PM (3 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.