aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ross2012-09-14 14:00:07 (EDT)
committerThomas Watson2012-09-20 09:57:37 (EDT)
commit648a05c1ffe33a039e0b259a418b5a50604a30c4 (patch)
tree083889b8cc7d31c664bb88945291715f8c0622fb
parent0a2e2b60498540ac0fb19268aebdae61a178a26f (diff)
downloadrt.equinox.framework-648a05c1ffe33a039e0b259a418b5a50604a30c4.zip
rt.equinox.framework-648a05c1ffe33a039e0b259a418b5a50604a30c4.tar.gz
rt.equinox.framework-648a05c1ffe33a039e0b259a418b5a50604a30c4.tar.bz2
Removed TODO about not recording MISSING_CAPABILITY entry if requirement is optional. We decided the entry should always be recorded. The report listener can determine whether or not the requirement was optional using the entry data.
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java
index 8f82a35..14e3014 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java
@@ -516,7 +516,6 @@ final class ModuleResolver {
// entry types later if an existing capability was filtered?
List<Capability> result = filterProviders(requirement, candidates);
computeUnresolvedProviders(requirement, result);
- // TODO Don't record the entry if the requirement is optional?
if (result.isEmpty())
reportBuilder.addEntry(requirement.getResource(), Entry.Type.MISSING_CAPABILITY, requirement);
return result;