View | Details | Raw Unified | Return to bug 100624
Collapse All | Expand All

(-)src/org/eclipse/update/internal/ui/wizards/TargetPage.java (-4 / +5 lines)
Lines 388-398 Link Here
388
    
388
    
389
    void removeAddedSites() {
389
    void removeAddedSites() {
390
        if (added != null) {
390
        if (added != null) {
391
            while (!added.isEmpty()) {
391
        	Iterator it = added.iterator(); 
392
                Iterator it = added.iterator(); 
392
            while (it.hasNext()) {
393
                if (it.hasNext())
393
                 config.removeConfiguredSite((IConfiguredSite) it.next());
394
                    config.removeConfiguredSite((IConfiguredSite) it.next());
394
                // the config listener no longer removes the site so we need to cleanup the collection at the end
395
            }
395
            }
396
            added.clear();
396
        }           
397
        }           
397
    }
398
    }
398
    
399
    

Return to bug 100624