private Set<InstallLicense> getFeatureLicense(Locale locale, Map<String, List<List<RepositoryResource>>> installResources) throws InstallException {
        Set<InstallLicense> licenses = new HashSet<InstallLicense>();
        Map<String, InstallLicenseImpl> licenseIds = new HashMap<String, InstallLicenseImpl>();
        getFeatureLicenseFromInstallResources(locale, licenseIds, installResources);
        licenses.addAll(licenseIds.values());
        return licenses;

    }
private Set < InstallLicense > getFeatureLicense ( Locale locale , Map < String , List < List < RepositoryResource > > > installResources ) throws InstallException { Set < InstallLicense > licenses = new HashSet < InstallLicense > ( ) ; Map < String , InstallLicenseImpl > licenseIds = new HashMap < String , InstallLicenseImpl > ( ) ; getFeatureLicenseFromInstallResources ( locale , licenseIds , installResources ) ; licenses . addAll ( licenseIds . values ( ) ) ; return licenses ; }
@param locale
@param installResources
@return
@throws InstallException