src/org/openstreetmap/josm/plugins/opendata/core/gui/ModulePreferencesModel.java
public void clearPendingModules(Collection<ModuleInformation> modules) {
        if (modules == null || modules.isEmpty()) return;
        for (ModuleInformation pi : modules) {
            pendingDownloads.remove(pi.name);
        }
    }
/**
     * Removes all the module in {@code modules} from the list of modules
     * with a pending download
     *
     * @param modules the list of modules to clear for a pending download
     */
Removes all the module in  modules from the list of modules
with a pending download

@param modules the list of modules to clear for a pending download
Removes all the module in modules from the list of modules with a pending download @param modules the list of modules to clear for a pending download
public void clearPendingModules(Collection<ModuleInformation> modules) {
        if (modules == null || modules.isEmpty()) return;
        for (ModuleInformation pi : modules) {
            pendingDownloads.remove(pi.name);
        }
    }
public void clearPendingModules ( Collection < ModuleInformation > modules ) { if ( modules == null || modules . isEmpty ( ) ) return ; for ( ModuleInformation pi : modules ) { pendingDownloads . remove ( pi . name ) ; } }
Removes all the module in {@code modules} from the list of modules
 with a pending download
Removes all the module in { @code modules } from the list of modules with a pending download