{
for (Requirement req : resource.getRequirements(null))
{
if (req.getNamespace().equals(PackageNamespace.PACKAGE_NAMESPACE))
{
<BUG>Capability cand = allCandidates.getFirstCandidate(req);

if (cand != null)
{
String pkgName = (String) cand.getAttributes().get(PackageNamespace.PACKAGE_NAMESPACE);
exports.remove(pkgName);</BUG>
}

{
if (!mutated.isEmpty())
{
usesPermutations.add(permutation);
