public void removeInstalledFeature ( String feature ) { this . configurationError = true ; HashSet < String > newInstalledFeatures = new HashSet <> ( installedFeatures ) ; if ( newInstalledFeatures . remove ( feature ) ) { installedFeatures = newInstalledFeatures . isEmpty ( ) ? Collections . < String > emptySet ( ) : Collections . unmodifiableSet ( newInstalledFeatures ) ; } }
Remove an installed feature from the list . This is intended to be used to remove features that failed during bundle resolution because of java version restrictions .